Title: Bitcoin Core setup error verifying the pgp signature Post by: eiger3970 on October 05, 2024, 02:20:19 PM Hello, I'm trying to setup a Bitcoin Core full node, however the pgp signature verification is brining up the error:
Code: Mac:Downloads macUser$ gpg --verify SHA256SUMS.asc Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: bigmanik on October 05, 2024, 04:12:14 PM Well I believe this error message occurs when GPG is unable to verify the signature because it is expecting an actual file(SHA256SUMS) to be present alongside the signature file (SHA256SUMS.asc)
So if I'm correct what you should do is You should download both SHA256SUMS and SHA256SUMS.asc from the Bitcoin core website Place both files in the same directory. And Run: `gpg --verify SHA256SUMS.asc SHA256SUMS` If this doesn't work you should specify the signature file explicitly And the manually check the hash Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: DireWolfM14 on October 05, 2024, 04:42:59 PM bigmanik is correct, GnuPG is unable to find the data to which the signature file pertains. Bitcoin core has a two-step verification process; first you need to download three files; the binary (.zip) for your version of MacOS, the SHA256 binary hashes, and SHA256 binary signature. The binary hashes file will not have a file extension, but it can be opened and read by any text editor. The signature file (it looks like you've already downloaded that) will have the .asc file extension. Download all the files to the same directory, then open a terminal window in that directory.
The first step; use GPG to verify the hash file matches the data signed by the signatures in the signature file. Code: gpg --verify SHA256SUMS.asc The second step; use the MacOS built in sha tool to very the hash of the .zip file. Code: shasum -a 256 --ignore-missing --check SHA256SUMS More detailed instructions can be found here: https://bitcoincore.org/en/download/ Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: eiger3970 on October 06, 2024, 12:26:53 AM Thanks, but it's unclear to which is a hash file, a signature and whatever else.
Here's the latest output: Code: Mac:Downloads macUser$ ls Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: achow101 on October 06, 2024, 02:27:44 AM You need to also download the file SHA256SUMS. That is the file which actually contains the hashes for the shasum command later.
SHA256SUMS.asc contains the signatures over the SHA256SUMS file, both need to be present, in addition the the GPG keys you wish to verify with, for gpg to do any verification. Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: Forsyth Jones on October 06, 2024, 09:08:48 PM I usually download the three files: bitcoin-28.0-x86_64-linux-gnu.tar.gz, SHA256SUMS and SHA256SUMS.asc and place them in the same folders for easier verification.
I do this by following the verification instructions on the download page: https://bitcoincore.org/en/download/, below there is a section: Verify your download and then you can open MacOS verification instructions to see the instructions for your OS. Did you import the keys of all the devs who signed the binary? I ask this because I didn't see if you downloaded the gpg keys from the core devs in your answers. Below is the command for this: Code: gpg --import fanquake.gpg As DireWolfM14 specified, follow the instructions on the download (https://bitcoincore.org/en/download/) page, below the executables there is a help section for verifying signatures. Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: eiger3970 on October 06, 2024, 11:02:55 PM Mac:Downloads macUser$ sha256sum bitcoin-27.0-x86_64-applie-darwin.zip
-bash: sha256sum: command not found. Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: nc50lc on October 07, 2024, 05:15:02 AM Mac:Downloads macUser$ sha256sum bitcoin-27.0-x86_64-applie-darwin.zip Go to https://bitcoincore.org/en/download/ (https://bitcoincore.org/en/download/).-bash: sha256sum: command not found. Scroll-down a few lines, then expand (click) "MacOS verification instructions". Screenshot (more lines below step5): https://www.talkimg.com/images/2024/10/07/i5fUJ.png (https://www.talkimg.com/images/2024/10/07/i5fUJ.png) In step8, as the recommendation stated, you can skip that and just import and certify only those who you trust. Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: eiger3970 on October 07, 2024, 07:09:41 AM Thank you, I overlooked the mention of clicking back to the Download page for the verification links.
Ran the steps, however working out the following errors now: Code: Mac:Downloads macUser$ ls Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: nc50lc on October 07, 2024, 09:11:42 AM Thank you, I overlooked the mention of clicking back to the Download page for the verification links. Since you've downloaded the older version Bitcoin Core v27.0, you should also download the "SHA256SUMS" and "SHA256SUMS.asc" file for that specific version.Ran the steps, however working out the following errors now: Code: Mac:Downloads macUser$ ls You can find it in their previous releases link: https://bitcoincore.org/bin/bitcoin-core-27.0/ (https://bitcoincore.org/bin/bitcoin-core-27.0/) It wont fix the "Unknown option: ignore-missing" error though since it looks like an issue with your OS and shasum. At least, ignore the obviously missing file results since you haven't downloaded those. Title: Re: Bitcoin Core setup error verifying the pgp signature Post by: eiger3970 on October 07, 2024, 10:08:52 PM Thanks. I just downloaded the defaults from the downloads page. Seems like an update is needed, so things work without the messing around. I'm unsure what to do and have run out of time.
|