BenWestgate / Bails

Bails is a Bitcoin solution protecting against surveillance, censorship, and confiscation. It installs Bitcoin Core on the encrypted Persistent Storage of Tails, creates and recovers Bitcoin Core wallets from Codex32 (BIP93) seed backups, and creates backup Bails USB sticks and shareable blank Bails USB sticks. Learn more in README.md.
MIT License
38 stars 7 forks source link

guix.sigs download can fail. Check that the script can recover or error out properly #164

Closed BenWestgate closed 2 weeks ago

BenWestgate commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

fatal: unable to access 'https://github.com/bitcoin-core/guix.sigs/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

gpg: can't open 'guix.sigs/builder-keys/*.gpg': No such file or directory
Warning: Bails trusted key ./trusted-keys/achow101.gpg not found in bitcoin-core/guix.sigs repository, skipping.
Warning: Bails trusted key ./trusted-keys/benthecarman.gpg not found in bitcoin-core/guix.sigs repository, skipping.
Warning: Bails trusted key ./trusted-keys/Emzy.gpg not found in bitcoin-core/guix.sigs repository, skipping.
Warning: Bails trusted key ./trusted-keys/laanwj.gpg not found in bitcoin-core/guix.sigs repository, skipping.
Warning: Bails trusted key ./trusted-keys/sipa.gpg not found in bitcoin-core/guix.sigs repository, skipping.

I did not try to do "additional verification" and already had keys in my key ring so it continued but we need to retry the download or error handle if additional verification is needed because I believe this download causes files to be saved that get referenced and will be empty without it.

Expected behavior Proper error handling.

BenWestgate commented 2 weeks ago

Resolved in #162