* PASS1-137: Add Justfile support to Gen 1 repo
First pass - not all expected commands are added yet
* Update Justfile with fmt command
Add py and c/h formatting
Need to finalize .clang-format file before doing a full reformatting PR
* Refactor Justfiles to separate them out
Also add graphics build commands
* Update Justfiles a bit
Fix formatting of graphics header files in preparation for automatic code formatting
* PASS1-55: Add menu to switch to a different Passphrase without rebooting
* Changed order of menu items in Passphrase menu
* Modified menu titles and removed "a" from inconsistent text
* PASS1-94: Prevent installing user-signed firmware if no user signing key installed
* Fixed case where user pubkey was removed manually
* Fixed text to match other areas where text is used
* Update text message for developer pubkey
* Hard coded user signed field to false
Co-authored-by: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com>
* Fixes part of PASS-91
Show address and index of the address being verified
* Second half of fix for ENV1-91
Add better messaging for address range searching
Fix a bug when saving next_addrs (was comparing dicts by ref)
* Fixes PASS1-122
Check change addresses in addition to receive address in "Verify Address"
* Fix comment punctuation
* Show backup filename to user after successful backup (#18)
Fix PASS1-92
* Auto-truncate multisig config names (#19)
Fix PASS1-101
* PASS1-101: Auto-truncate multisig config names (#19)
Fix PASS1-101
* Remove unnecessary comments
* PASS1-92 (#20)
* Show backup filename to user after successful backup
Fix PASS1-92
* Add missing 'card' parameter to `get_backups_folder_path()` calls
* Revert path function changes since 'card' is not available
* PASS1-102: Fix backwards microSD issue
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* PASS1-102: Fix backwards microSD issue (#21)
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* PASS1-102_b (#22)
* PASS1-102: Fix backwards microSD issue
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* Switch back to hard-coded path for now
* PASS1-122_b (#23)
* PASS1-102: Fix backwards microSD issue
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* Update user messaging for found/not found case of Verify Address
Fix bug with trailing space at end of line in `word_wrap()`
* Strip ever time through the loop
* PASS1-125: Add Git commit-msg hook to check for Linear ID (#24)
* PASS1-125: Add Git commit-msg hook to check for Linear ID
* Update .githooks/commit-msg
Co-authored-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Co-authored-by: Jean Pierre Dudey <jeandudey@hotmail.com>
* PASS1-122: Minor updates to text (#27)
* PASS1-127: Fix `reuse lint` issues in the repo (#26)
* PASS1-113: Give the user a way to clear the developer pubkey slot (#25)
* PASS1-122: Added "Address Verified" text to new wallet pairing (#28)
* PASS1-122: Minor updates to text
* PASS1-122: Added "Address Verified" text to new wallet pairing
* PASS1-128: Add support back for Bitcoin testnet
Co-authored-by: Ken Carpenter <ken@foundationdevices.com>
Co-authored-by: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com>
Co-authored-by: Jean Pierre Dudey <jeandudey@hotmail.com>
* PASS1-133: Modify cosign file naming for fully signed binaries.
* Remove all USE_CRYPTO, it is not used anymore
Also remove function that is not needed.
* Added use of firmware version from header, also fixed a seg fault
* PASS1-131: Fix compiling sorting for deterministic building for releases
* Remove a sort to only sort the wildcard files
* Fix spacing to make this pull a 1 line change
* PASS1-102: Fix backwards microSD issue
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* Update user messaging for found/not found case of Verify Address
Fix bug with trailing space at end of line in `word_wrap()`
* Strip ever time through the loop
* PASS1-102: Fix backwards microSD issue
Found that `ErrorCode` in `SD_HandleTypeDef` was not reset after a failure.
Updated `HAL_SD_Init()` to reset it before attempting initialization.
* Switch back to hard-coded path for now
* Show backup filename to user after successful backup
Fix PASS1-92
* Add missing 'card' parameter to `get_backups_folder_path()` calls
* Revert path function changes since 'card' is not available
Two issues:
- The UR2 sampler function was expecting the '1-3' indicator, and this is not included if there is a single UR fragment. Changed code to try to parse instead of relying on a complex regex.
- Fixed a similar issue with the UR1 sampler, but it can be simpler since we've already ruled out UR2.
- When sending the UR2 response, it always used "bytes" as the prefix. Now if it receives 'crypto-psbt', it responds with 'crypto-psbt'.
- Fixed is_ut_type() utility function which was incorrect
- All these fixes allow the code to work with BlueWallet's new UR2 support, but also stay compatible with older BlueWallet versions that only support UR1.
* Fix bug with seed restore
* Fix a crash when going BACK from renaming an Account entry without changing it
* Fix an error that appeared when trying to scan a multisig entry from the Sign with QR Code menu
* Fix bug with renaming an account
* Fix bug when creating an account with the same name as another account