Skip to content

Commit

Permalink
Merge branch 'dev' into resolves_issue_555
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebuyito authored Jan 29, 2025
2 parents c249d4a + b99df74 commit c67d2b4
Show file tree
Hide file tree
Showing 28 changed files with 657 additions and 517 deletions.
40 changes: 28 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
target: [ "pi0", "pi2", "pi02w", "pi4" ]
steps:
- name: checkout seedsigner-os
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "seedsigner/seedsigner-os"
# use the os-ref input parameter in case of workflow_dispatch or default to main in case of cron triggers
Expand All @@ -42,7 +42,7 @@ jobs:
fetch-depth: 0

- name: checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# ref defaults to repo default-branch=dev (cron) or SHA of event (workflow_dispatch)
path: "seedsigner-os/opt/rootfs-overlay/opt"
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
ls -la src
- name: restore build cache
uses: actions/cache@v3
uses: actions/cache@v4
# Caching reduces the build time to ~50% (currently: ~30 mins instead of ~1 hour,
# while consuming ~850 MB storage space).
with:
Expand All @@ -89,10 +89,25 @@ jobs:
restore-keys: |
build-cache-${{ matrix.target }}-
- name: Create build container
run: |
cd seedsigner-os
docker build -t seedsigner-os-build .
- name: build
run: |
cd seedsigner-os/opt
./build.sh --${{ matrix.target }} --skip-repo --no-clean
mkdir -p \
~/.buildroot-ccache \
seedsigner-os/buildroot_dl
docker run \
--rm \
-v "$(pwd)/seedsigner-os/opt:/opt" \
-v "$(pwd)/seedsigner-os/images:/images" \
-v "$(pwd)/seedsigner-os/buildroot_dl:/buildroot_dl" \
-v "${HOME}/.buildroot-ccache:/root/.buildroot-ccache" \
seedsigner-os-build \
--${{ matrix.target }} --skip-repo --no-clean
sudo chown -R $USER:$USER seedsigner-os/images seedsigner-os/buildroot_dl ~/.buildroot-ccache/
- name: list image (before rename)
run: |
Expand All @@ -113,9 +128,9 @@ jobs:
ls -la seedsigner-os/images
- name: upload images
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: seedsigner_os_images
name: seedsigner_os_images-${{ matrix.target }}
path: "seedsigner-os/images/*.img"
if-no-files-found: error
# maximum 90 days retention
Expand All @@ -127,14 +142,13 @@ jobs:
needs: build
steps:
- name: download images
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: seedsigner_os_images
path: images

- name: list images
run: |
ls -la images
ls -lRa images
- name: get seedsigner latest commit hash
id: get-seedsigner-hash
Expand All @@ -145,12 +159,14 @@ jobs:
- name: write sha256sum
run: |
cd images
# each downloaded image is in its own subfolder
find . -name "*.img" -exec mv {} . \;
sha256sum *.img > seedsigner_os.${{ env.source_hash }}.sha256
- name: upload checksums
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: seedsigner_os_images
name: seedsigner_os_images_sha256
path: "images/*.sha256"
if-no-files-found: error
# maximum 90 days retention
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
python-version: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Needs to also pull the seedsigner-translations repo
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down Expand Up @@ -63,9 +63,9 @@ jobs:
- name: Coverage report
run: coverage report
- name: Archive CI Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-artifacts
name: ci-artifacts-${{ matrix.python-version }}
path: artifacts/**
retention-days: 10
# Upload also when tests fail. The workflow result (red/green) will
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "src/seedsigner/resources/seedsigner-translations"]
path = src/seedsigner/resources/seedsigner-translations
url = https://github.com/SeedSigner/seedsigner-translations.git
branch = 0.8.5-rc1
branch = dev
[submodule "seedsigner-screenshots"]
path = seedsigner-screenshots
url = https://github.com/SeedSigner/seedsigner-screenshots.git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The result should confirm that 1 key was *either* imported or updated. *Ignore*

Next, you will run the *verify* command on the signature (.sig) file. (*Verify* must be run from inside the same folder that you downloaded the files into earlier. The `*`'s in this command will auto-fill the version from your current folder, so it should be copied and pasted as-is.)
```
gpg --verify seedsigner.0.7.*.sha256.txt.sig
gpg --verify seedsigner.0.8.*.sha256.txt.sig
```

When the verify command completes successfully, it should display output like this:
Expand Down
98 changes: 46 additions & 52 deletions l10n/messages.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Translations template for seedsigner.
# Copyright (C) 2024 ORGANIZATION
# Copyright (C) 2025 ORGANIZATION
# This file is distributed under the same license as the seedsigner project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: seedsigner 0.8.5\n"
"Project-Id-Version: seedsigner 0.8.5-rc1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-11-03 14:15-0600\n"
"POT-Creation-Date: 2025-01-19 10:20-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -36,16 +36,6 @@ msgstr ""
msgid "sats"
msgstr ""

#. The abbreviated label for the special key <del> on a standard keyboard.
#: src/seedsigner/gui/keyboard.py
msgid "del"
msgstr ""

#. The abbreviated label for the special key <space> on a standard keyboard.
#: src/seedsigner/gui/keyboard.py
msgid "space"
msgstr ""

#: src/seedsigner/gui/toast.py
msgid ""
"You can remove\n"
Expand Down Expand Up @@ -121,9 +111,8 @@ msgid "OP_RETURN"
msgstr ""

#. Label for a change output in the PSBT Overview flow diagram
#. Used in a sentence describing the address type (change or receive)
#: src/seedsigner/gui/screens/psbt_screens.py
#: src/seedsigner/views/psbt_views.py src/seedsigner/views/seed_views.py
#: src/seedsigner/views/psbt_views.py
msgid "change"
msgstr ""

Expand Down Expand Up @@ -204,15 +193,19 @@ msgstr ""
msgid "Darker"
msgstr ""

#: src/seedsigner/gui/screens/screen.py src/seedsigner/views/seed_views.py
#: src/seedsigner/gui/screens/screen.py
#: src/seedsigner/gui/screens/seed_screens.py
#: src/seedsigner/views/seed_views.py
msgid "Success!"
msgstr ""

#: src/seedsigner/gui/screens/screen.py src/seedsigner/views/seed_views.py
#: src/seedsigner/gui/screens/screen.py
#: src/seedsigner/gui/screens/seed_screens.py
#: src/seedsigner/views/seed_views.py
msgid "OK"
msgstr ""

#: src/seedsigner/gui/screens/screen.py src/seedsigner/views/psbt_views.py
#: src/seedsigner/gui/screens/screen.py
msgid "Caution"
msgstr ""

Expand Down Expand Up @@ -391,6 +384,25 @@ msgstr ""
msgid "Checking address {}"
msgstr ""

#: src/seedsigner/gui/screens/seed_screens.py
msgid "Address Verified"
msgstr ""

#. Describes the address type (change or receive)
#: src/seedsigner/gui/screens/seed_screens.py
msgid "change address"
msgstr ""

#. Describes the address type (change or receive)
#: src/seedsigner/gui/screens/seed_screens.py
msgid "receive address"
msgstr ""

#. Describes the address index (e.g. "index 7")
#: src/seedsigner/gui/screens/seed_screens.py
msgid "index {}"
msgstr ""

#: src/seedsigner/gui/screens/seed_screens.py
msgid "Multisig Verification"
msgstr ""
Expand Down Expand Up @@ -517,11 +529,12 @@ msgstr ""
msgid "Build Final Word"
msgstr ""

#. Number of BIP-39 seed words, and the entropy -- in bits, contained within.
#. Final word calc. `mnemonic_length` = 12 or 24. `num_bits` = 7 or 3 (bits of
#. entropy in final word).
#: src/seedsigner/gui/screens/tools_screens.py
msgid ""
"The {}th word is built from {} more entropy bits plus auto-calculated "
"checksum."
"The {mnemonic_length}th word is built from {num_bits} more entropy bits "
"plus auto-calculated checksum."
msgstr ""

#. current coin-flip number vs total flips (e.g. flip 3 of 4)
Expand Down Expand Up @@ -744,6 +757,10 @@ msgstr ""
msgid "BIP-85 child seeds"
msgstr ""

#: src/seedsigner/models/settings_definition.py
msgid "Electrum seeds"
msgstr ""

#: src/seedsigner/models/settings_definition.py
msgid "Native Segwit only"
msgstr ""
Expand Down Expand Up @@ -874,18 +891,16 @@ msgstr ""

#. Variable is either "change" or "self-transfer".
#: src/seedsigner/views/psbt_views.py
msgid ""
"PSBT's {} address could not be verified with your multisig wallet "
"descriptor."
msgid "PSBT's {} address could not be verified from wallet descriptor."
msgstr ""

#. Variable is either "change" or "self-transfer".
#: src/seedsigner/views/psbt_views.py
msgid "Suspicious PSBT"
msgid "PSBT's {} address could not be generated from your seed."
msgstr ""

#. Variable is either "change" or "self-transfer".
#: src/seedsigner/views/psbt_views.py
msgid "PSBT's {} address could not be generated from your seed."
msgid "Suspicious PSBT"
msgstr ""

#: src/seedsigner/views/psbt_views.py
Expand Down Expand Up @@ -1262,30 +1277,6 @@ msgstr ""
msgid "Can't validate a single sig addr without specifying a seed"
msgstr ""

#: src/seedsigner/views/seed_views.py
msgid "multisig"
msgstr ""

#. Inserts the seed fingerprint
#: src/seedsigner/views/seed_views.py
msgid "seed {}"
msgstr ""

#. Used in a sentence describing the address type (change or receive)
#: src/seedsigner/views/seed_views.py
msgid "receive"
msgstr ""

#. Address verification success message (e.g. "bc1qabc = seed 12345678's
#. receive address #0.")
#: src/seedsigner/views/seed_views.py
msgid "{} = {}'s {} address #{}."
msgstr ""

#: src/seedsigner/views/seed_views.py
msgid "Address Verified"
msgstr ""

#: src/seedsigner/views/seed_views.py
msgid "Scan Descriptor"
msgstr ""
Expand Down Expand Up @@ -1456,10 +1447,13 @@ msgstr ""
msgid "Back to Main Menu"
msgstr ""

#. The network setting (mainnet/testnet/regtest) doesn't match the provided
#. derivation path
#: src/seedsigner/views/view.py
msgid "Network Mismatch"
msgstr ""

#. Button option to alter a setting
#: src/seedsigner/views/view.py
msgid "Change Setting"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion seedsigner-screenshots
Submodule seedsigner-screenshots updated 96 files
+ en/main_menu_views/OpeningSplashView.png
+ en/main_menu_views/OpeningSplashView_no_partner_logos.png
+ en/seed_views/AddressVerificationSuccessView.png
+ en/seed_views/SeedAddPassphraseView.png
+ en/seed_views/SeedAddressVerificationSuccessView.png
+ en/seed_views/SeedSelectSeedView.png
+ en/settings_views/ToolsAddressExplorerAddressListView.png
+ es/main_menu_views/MainMenuView.png
+ es/main_menu_views/MainMenuView_RemoveSDCardToast.png
+ es/main_menu_views/MainMenuView_SDCardStateChangeToast_inserted.png
+ es/main_menu_views/MainMenuView_SDCardStateChangeToast_removed.png
+ es/main_menu_views/OpeningSplashView.png
+ es/main_menu_views/OpeningSplashView_no_partner_logos.png
+ es/main_menu_views/PowerOptionsView.png
+ es/main_menu_views/RestartView.png
+ es/misc_error_views/ErrorView.png
+ es/misc_error_views/NotYetImplementedView.png
+ es/misc_error_views/OptionDisabledView.png
+ es/misc_error_views/UnhandledExceptionView.png
+ es/psbt_views/PSBTAddressDetailsView.png
+ es/psbt_views/PSBTAddressVerificationFailedView_multisig_change.png
+ es/psbt_views/PSBTAddressVerificationFailedView_multisig_selftransfer.png
+ es/psbt_views/PSBTAddressVerificationFailedView_singlesig_change.png
+ es/psbt_views/PSBTAddressVerificationFailedView_singlesig_selftransfer.png
+ es/psbt_views/PSBTNoChangeWarningView.png
+ es/psbt_views/PSBTOpReturnView_raw_hex_data.png
+ es/psbt_views/PSBTOpReturnView_text.png
+ es/psbt_views/PSBTOverviewView.png
+ es/psbt_views/PSBTOverviewView_op_return.png
+ es/psbt_views/PSBTSelectSeedView.png
+ es/psbt_views/PSBTSigningErrorView.png
+ es/psbt_views/PSBTUnsupportedScriptTypeWarningView.png
+ es/seed_views/AddressVerificationSigTypeView.png
+ es/seed_views/AddressVerificationSuccessView.png
+ es/seed_views/LoadMultisigWalletDescriptorView.png
+ es/seed_views/LoadSeedView.png
+ es/seed_views/SeedAddPassphraseExitDialogView.png
+ es/seed_views/SeedAddPassphraseView.png
+ es/seed_views/SeedAddPassphraseView_lowercase.png
+ es/seed_views/SeedAddPassphraseView_symbols_1.png
+ es/seed_views/SeedAddPassphraseView_symbols_2.png
+ es/seed_views/SeedAddPassphraseView_uppercase.png
+ es/seed_views/SeedAddressVerificationSuccessView.png
+ es/seed_views/SeedBIP85ApplicationModeView.png
+ es/seed_views/SeedBIP85InvalidChildIndexView.png
+ es/seed_views/SeedBackupView.png
+ es/seed_views/SeedDiscardView.png
+ es/seed_views/SeedElectrumMnemonicStartView.png
+ es/seed_views/SeedExportXpubSigTypeView.png
+ es/seed_views/SeedExportXpubWarningView.png
+ es/seed_views/SeedFinalizeView.png
+ es/seed_views/SeedMnemonicEntryView.png
+ es/seed_views/SeedMnemonicInvalidView.png
+ es/seed_views/SeedOptionsView.png
+ es/seed_views/SeedReviewPassphraseView.png
+ es/seed_views/SeedSelectSeedView.png
+ es/seed_views/SeedSelectSeedView_address_verification.png
+ es/seed_views/SeedSelectSeedView_sign_message.png
+ es/seed_views/SeedSignMessageConfirmAddressView.png
+ es/seed_views/SeedTranscribeSeedQRConfirmQRPromptView.png
+ es/seed_views/SeedTranscribeSeedQRFormatView.png
+ es/seed_views/SeedTranscribeSeedQRWarningView.png
+ es/seed_views/SeedTranscribeSeedQRWholeQRView_12_Compact.png
+ es/seed_views/SeedTranscribeSeedQRWholeQRView_12_Standard.png
+ es/seed_views/SeedTranscribeSeedQRWholeQRView_24_Compact.png
+ es/seed_views/SeedTranscribeSeedQRWholeQRView_24_Standard.png
+ es/seed_views/SeedWordsBackupTestMistakeView.png
+ es/seed_views/SeedWordsBackupTestPromptView.png
+ es/seed_views/SeedWordsBackupTestSuccessView.png
+ es/seed_views/SeedWordsView.png
+ es/seed_views/SeedWordsView_2.png
+ es/seed_views/SeedWordsWarningView.png
+ es/seed_views/SeedsMenuView.png
+ es/settings_views/IOTestView.png
+ es/settings_views/SettingsEntryUpdateSelectionView_bip85_child_seeds.png
+ es/settings_views/SettingsEntryUpdateSelectionView_camera_rotation.png
+ es/settings_views/SettingsEntryUpdateSelectionView_denomination.png
+ es/settings_views/SettingsEntryUpdateSelectionView_electrum_seeds.png
+ es/settings_views/SettingsEntryUpdateSelectionView_persistent_settings.png
+ es/settings_views/SettingsEntryUpdateSelectionView_qr_brightness_tips.png
+ es/settings_views/SettingsEntryUpdateSelectionView_qr_density.png
+ es/settings_views/SettingsEntryUpdateSelectionView_sig_types.png
+ es/settings_views/SettingsEntryUpdateSelectionView_xpub_details.png
+ es/settings_views/SettingsIngestSettingsQRView_not_persistent.png
+ es/settings_views/SettingsIngestSettingsQRView_persistent.png
+ es/settings_views/SettingsMenuView.png
+ es/settings_views/SettingsMenuView__Advanced.png
+ es/settings_views/ToolsAddressExplorerAddressListView.png
+ es/tools_views/ToolsAddressExplorerAddressTypeView.png
+ es/tools_views/ToolsAddressExplorerSelectSourceView.png
+ es/tools_views/ToolsCalcFinalWordDoneView.png
+ es/tools_views/ToolsCalcFinalWordFinalizePromptView.png
+ es/tools_views/ToolsCalcFinalWordNumWordsView.png
+ es/tools_views/ToolsDiceEntropyMnemonicLengthView.png
+ es/tools_views/ToolsImageEntropyMnemonicLengthView.png
+ es/tools_views/ToolsMenuView.png
Loading

0 comments on commit c67d2b4

Please sign in to comment.