Bitcoin Forum
October 31, 2024, 10:18:22 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoincore 0.21.2 - SHA256SUMS.asc  (Read 123 times)
harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
October 29, 2022, 08:44:50 AM
Merited by BlackHatCoiner (4)
 #1

Hi,

I tried to verify the SHA256SUMS.asc form Bitcoincore 0.21.2.
I get
Code:
gpg: Signature made Wed 29 Sep 2021 06:26:46 BST
gpg:        using RSA key 90C8019E36C2E964
gpg: Can't check signature: No public key

When I fetch the Key form hkps://keys.openpgp.org I get

Code:
gpg: key 90C8019E36C2E964: new key but contains no user ID - skipped
gpg:        Total number processed: 1
gpg:               w/o user IDs:1

I understand that it has something to do with the RSA-format but I can't figure out how to receive the proper public key in order to verify the SHA256SUMS. I also collected some public keys form contributors of this version but it didn't work.

Help is very much appreciated.
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
October 29, 2022, 09:22:20 AM
 #2

It's one of those older versions that are exclusive to bitcoincore.org right?
For that, you need to import Wladimir's key for Bitcoin Core binary releases: github.com/bitcoin-core/bitcoincore.org/blob/master/keys/laanwj-releases.asc

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
October 29, 2022, 09:51:39 AM
 #3

Yes it is an older version straight form the bitcoincore.org server

https://bitcoincore.org/bin/bitcoin-core-0.21.2/

Should I replace the SHA256SUMS.asc with the laanwj-releases.asc?

Because I looked up the Wladimir's key here:

https://github.com/bitcoin/bitcoin/blob/master/contrib/builder-keys/keys.txt


Code:
71A3B16735405025D447E8F274810B012346C9A6 Wladimir J. van der Laan (laanwj)

I successfully received his key but still couldn't verify the SHA256SUMS.asc file.   Huh
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
October 29, 2022, 10:07:02 AM
 #4

No, it's the signing key of SHA256SUMS.asc for v0.21.2.
You should "manually" import that other key from bitcoincore.org's repository, the one I've linked which is the RSA key 90C8019E36C2E964:
Code:
01EA5486DE18A882D4C2684590C8019E36C2E964 Wladimir J. van der Laan (Bitcoin Core binary release signing key)
It's a separate key from the one you got from bitcoin repository.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
October 29, 2022, 10:44:57 AM
Merited by Halab (2), Rizzrack (1), PowerGlove (1)
 #5

I copied the content

Code:
-----BEGIN PGP PUBLIC KEY BLOCK-----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wso1ifVNe2dBX4KboVo
vEm9OMiE4lEeWZEStlHTQhEIWc4uXdJsY1C8Z+HXBSTnma2Uo3l2639mdWi6PfBj
RYIONB0celuR1srsDn0eK4U42olOBDCN0VCoxQoSuaI61BAtsu5PSZmH3YorNo6J
e/wSTmvyqHezMqn8mslwM6rTi5W3/w/8mAEjUhLxgXDift+UHBo5XHENGw6ZHU57
k5bB/clPHTKLVtXNoYR/jjulwLzy2NbeLYoDdaSEMN4yuiLUNJx4mw==
=dqY4
-----END PGP PUBLIC KEY BLOCK-----

and created a publickey.txt file which I imported via

Code:
$ gpg --import publickey.txt

Did work nicely and I also could verify the SHA256SUM.asc by using

Code:
 $ gpg --verify SHA256SUMS.asc 

 Thanks a lot!

But what I still don't get is, does this mean the original releasae-key (https://github.com/bitcoin-core/bitcoincore.org/blob/master/keys/laanwj-releases.asc) isn't a part of the pgp-publickey-libraries anymore? Do you know the reason for it?
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1694
Merit: 8318


Bitcoin is a royal fork


View Profile WWW
October 29, 2022, 12:19:11 PM
Merited by NeuroticFish (2), NotATether (2), PowerGlove (1)
 #6

I had imported Wladimir's public key in the past, but it's now expired. Tried to verify SHA256SUMS.asc, it did have a good signature.
Code:
$ gpg --verify SHA256SUMS.asc
gpg: Signature made Wed 29 Sep 2021 08:26:46 AM EEST
gpg:                using RSA key 90C8019E36C2E964
gpg: Good signature from "Wladimir J. van der Laan (Bitcoin Core binary release signing key) <laanwj@gmail.com>" [expired]
gpg: Note: This key has expired!

I re-imported it, with the provided github link, and there wasn't a problem. That's the latest commit by laanwj:
Change the expiration to 2024. The key is no longer being used for new
releases, but letting it expire now would be inconvenient because there
may still be another 0.21.x release, and, people may still want to
verify older releases.

This should be enough for all releases signed with it to be EOL. After
that, it can be removed from the site completely.

I hope this does answer your last question.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
October 30, 2022, 05:18:57 PM
 #7

Cheers, that explains everything!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!