-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.3.2 #550
Merged
Merged
v2.3.2 #550
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* .github/workflows/validate_and_build.yaml: Rename file to ... * .github/workflows/build.yaml: ... this one and remove lint job. Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
* .github/actions/rust-toolchain/action.yml: Add vendored dtolnay/rust-toolchain action. * .reuse/dep5: Add dtolnay to dep5 as the copyright holder of rust-toolchain action file. Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
* .github/workflows/lint.yaml: New action. Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
* .github/workflows/build.yaml: Remove setup-just action. Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
The Passport firmware code runs on a "single thread" so the warnings don't apply here. * extmod/foundation-rust/src/secp256k1.rs: Replace `&mut ...' with `&mut *addr_of_mut!(...)'. * extmod/foundation-rust/src/ur/decoder.rs: Ditto. * extmod/foundation-rust/src/ur/encoder.rs: Ditto. * extmod/foundation-rust/src/ur/mod.rs: Ditto.
* .github/workflows/dependabot.yaml: Move from here... * .github/dependabot.yaml: ... to here.
For consistency. * extmod/foundation-rust/include/foundation.h: Re-generate file. * extmod/foundation-rust/src/secp256k1.rs (foundation_secp256k1_schnorr_sign): Rename this ... (foundation_secp256k1_sign_schnorr): ... to this. * extmod/foundation/modfoundation-secp56k1.h (mod_foundation_secp256k1_sign_schnorr): Update.
* extmod/foundation-rust/include/foundation.h: Re-generate file. * extmod/foundation-rust/src/secp256k1.rs (foundation_secp256k1_sign_ecdsa): New function. * extmod/foundation/modfoundation-secp56k1.h (mod_foundation_secp256k1_sign_ecdsa): New function. (mod_foundation_secp256k1_sign_ecdsa_obj): New variable. (mod_foundation_secp256k1_globals_table): Add MP_QSTR_sign_ecdsa.
* extmod/foundation/modfoundation-secp56k1.h (mod_foundation_secp256k1_public_key_schnorr): New function. (mod_foundation_secp256k1_public_key_schnorr_obj): New variable. (mod_foundation_secp256k1_globals_table): Add MP_QSTR_public_key_schnorr. * extmod/foundation-rust/include/foundation.h: Re-generate file. * extmod/foundation-rust/src/secp256k1.rs (secp256k1_public_key_schnorr): New function.
* ports/stm32/boards/Passport/modules/tasks/nostr_key_task.py (nostr_key_task): Use secp256k1.public_key_schnorr instead of nostr_pubkey_from_pk. * ports/stm32/boards/Passport/modules/utils.py (nostr_pubkey_from_pk): Remove function.
* ports/stm32/boards/Passport/modules/tasks/sign_psbt_task.py (sign_psbt_task): Use foundation.secp256k1.sign_ecdsa. * ports/stm32/boards/Passport/modules/utils.py (sign_message_digest): Ditto.
* extmod/trezor-firmware/core/embed/extmod/modtrezorcrypto/modtrezorcrypto.c: (modtrezorcrypto-secp256k1.h): Remove inclusion. (mp_module_trezorcrypto_globals_table): Remove MP_QSTR_secp256k1.
* py/py.mk (PY_EXTMOD_O_BASENAME): Remove extmod/trezor-firmware/crypto/shamir.o and extmod/trezor-firmware/crypto/schnorr.o.
* extmod/trezor-firmware/core/embed/extmod/modtrezorcrypto/modtrezorcrypto.c (FOUNDATION_ADDITIONS): Remove definition. * py/py.mk (CFLAGS_MOD): Add -DFOUNDATION_ADDITIONS=1.
* extmod/trezor-firmware/crypto/bip32.c (get_curve_by_name): Disable getting nist256p1 information to avoid linking. * py/py.mk (PY_EXTMOD_O_BASENAME): Remove extmod/trezor-firmware/crypto/nist256p1.o.
* extmod/trezor-firmware/crypto/bip32.c: Avoid using unused curves. * extmod/trezor-firmware/crypto/hasher.c: Disable various hashes. * extmod/trezor-firmware/crypto/hasher.h: Ditto. * extmod/trezor-firmware/crypto/secp256k1.c: Remove unused curves. * py/py.mk (PY_EXTMOD_O_BASENAME): Remove extmod/trezor-firmware/crypto/groestl.o, extmod/trezor-firmware/crypto/blake256.o, extmod/trezor-firmware/crypto/blake2b.o and extmod/trezor-firmware/crypto/blake2s.o.
* py/py.mk (CFLAGS_MOD): Add -DUSE_PRECOMPUTED_CP=0.
* extmod/foundation-rust/Cargo.toml (dependencies) <secp256k1>: Enable lowmemory feature.
* extmod/foundation-rust/Cargo.lock: Update lockfile. * extmod/foundation-rust/Cargo.toml (dependencies) <bitcoin_hashes>: New dependency, enable small-hash.
* src/secp256k1.rs (secp256k1_public_key_schnorr): Use Keypair instead of KeyPair. (secp256k1_sign_ecdsa): Use Message::from_digest_slice.
…x-rust-compilation-issues SFT-3656: Fix Rust compilation issues.
* simulator/Makefile (CC_UNIX_TOP): Remove variable. (up): Remove target. (dfu): Ditto. (tags): Ditto. (tools): Ditto. (setup): Ditto. Signed-off-by: Jean-Pierre De Jesus DIAZ <[email protected]>
* ports/unix/main.c (mp_import_stat): Fix function signature.
* extmod/foundation-rust/Cargo.lock: Regenerate file. * extmod/foundation-rust/Cargo.toml (dependencies) <foundation-ur>: Update to 0.2. <foundation-urtypes>: Update to 0.3. <minicbor>: Update to 0.24.
…move-unused-targets-on-simulator SFT-3648: Remove unused targets on simulator.
…date-foundation-urtypes SFT-3632: Update foundation-urtypes.
…ed-sticking SFT-3980 temporary seeds sticking
…kup-temporary-seeds SFT-3982: dont autobackup temporary seeds
…age around "required" multisig for signing
…ey multisigs default to skip
…psbt-error-messaging SFT-4103: fix taproot psbt error messaging
…related-settings-device-settings SFT-4095: make update related settings device settings
…icy-clarification SFT-4094: multisig policy clarification
…ig-policy-on-device-reset SFT-4088: erased multisig policy on device reset
…menu-icons-and-messages SFT-4120: standardized menu icons and messages
FoundationKen
approved these changes
Sep 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.