Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
iceland2k14
on 16/01/2025, 16:23:20 UTC

I tried to recover the public key using the following python script, but it seems to have generated incorrect public key. I think I didn't understand how the 65-byte signature operates. Perhaps albert can explain in detail how to recover the public key from the signature? Thanks a lot.


Code:
>>> import secp256k1 as ice
>>> ice.verify_message('1BY8GQbBPGYEC58s9ckHmqf9doEX9mCKPR', 'H0J+wKAwGGMiVWHLuwEaZpLePkQAYx0HoTVvEZJu/wx3N6QYbUJMuajlj//yyjD7WLh42Ydlg+/vTJm50Td1LS0=', '15/01/2025 hotmoney')

Code:
Rpoint: 04427ec0a0301863225561cbbb011a6692de3e4400631d07a1356f11926eff0c77e31f0022894d9b6fdea00a252d803ef06bf9238b74e1eb7537e87a60c7684558
r : 427ec0a0301863225561cbbb011a6692de3e4400631d07a1356f11926eff0c77
s : 37a4186d424cb9a8e58ffff2ca30fb58b878d9876583efef4c99b9d137752d2d
z : 66c9d17af97088340e7894865731ad6e37642ab797ce58ecc650f351f5349f6
PubKey : 032145f843d3c91c3795a75da5ea46796070d18de51a7d0c0b68eb2f30162b169f
Address : 1BY8GQbBPGYEC58s9ckHmqf9doEX9mCKPR

signature is Valid and Address is Verified.