Skip to content

Commit 2e380b2

Browse files
committed
Merge branch 'bip85'
2 parents c9a86b4 + 39da1e7 commit 2e380b2

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ customers cannot upgrade their bootloader, its changes are recorded separately.
77
## Firmware
88

99
### [Unreleased]
10+
11+
### 9.18.0
1012
- Add support for deriving BIP-39 mnemonics according to BIP-85
1113

1214
### 9.17.0

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ endif()
9696
#
9797
# Versions MUST contain three parts and start with lowercase 'v'.
9898
# Example 'v1.0.0'. They MUST not contain a pre-release label such as '-beta'.
99-
set(FIRMWARE_VERSION "v9.17.0")
100-
set(FIRMWARE_BTC_ONLY_VERSION "v9.17.0")
99+
set(FIRMWARE_VERSION "v9.18.0")
100+
set(FIRMWARE_BTC_ONLY_VERSION "v9.18.0")
101101
set(BOOTLOADER_VERSION "v1.0.5")
102102

103103
find_package(PythonInterp 3.6 REQUIRED)

py/bitbox02/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## [Unreleased]
44
- Accept EIP1559 transactions in `eth_sign()` - requires BitBox02 firmware v9.16.0
5+
- Add `bip85_bip39()` and `bip85_ln()`
56

67
## 6.2.0
78
- btc_sign: allow displaying BTC values in the 'sat' unit

py/bitbox02/bitbox02/bitbox02/bitbox02.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def electrum_encryption_key(self, keypath: Sequence[int]) -> str:
681681

682682
def bip85_bip39(self) -> None:
683683
"""Invokes the BIP85-BIP39 workflow on the device"""
684-
self._require_atleast(semver.VersionInfo(9, 17, 0))
684+
self._require_atleast(semver.VersionInfo(9, 18, 0))
685685

686686
# pylint: disable=no-member
687687
request = hww.Request()

src/rust/bitbox02-rust/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ app-cardano = [
107107
"ed25519"
108108
]
109109

110-
app-bip85-bip39 = []
111-
112110
testing = [
113111
# enable these deps
114112
"lazy_static",

src/rust/bitbox02-rust/src/hww/api/bip85.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ use alloc::vec::Vec;
2727
pub async fn process(request: &pb::Bip85Request) -> Result<Response, Error> {
2828
match &request.app {
2929
None => Err(Error::InvalidInput),
30-
#[cfg(not(feature = "app-bip85-bip39"))]
31-
Some(pb::bip85_request::App::Bip39(())) => Err(Error::Disabled),
32-
#[cfg(feature = "app-bip85-bip39")]
3330
Some(pb::bip85_request::App::Bip39(())) => Ok(Response::Bip85(pb::Bip85Response {
3431
app: Some(pb::bip85_response::App::Bip39(process_bip39().await?)),
3532
})),
@@ -41,7 +38,6 @@ pub async fn process(request: &pb::Bip85Request) -> Result<Response, Error> {
4138

4239
/// Derives and displays a BIP-39 seed according to BIP-85:
4340
/// https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki#bip39.
44-
#[cfg(feature = "app-bip85-bip39")]
4541
async fn process_bip39() -> Result<(), Error> {
4642
use crate::workflow::trinary_choice::{choose, TrinaryChoice};
4743
use crate::workflow::{menu, mnemonic, status, trinary_input_string};

0 commit comments

Comments
 (0)