h9-dev / chia-plotter

The plotter for Chia.
102 stars 15 forks source link

Linux plotter generated signature for wrong farmer and pool public keys #51

Open sandoval opened 3 years ago

sandoval commented 3 years ago

I used the command as instructed:

./chia-plotter-linux-amd64 -action sign -sign-address <<address>> -sign-mnemonic <<my mnemonic>>

It generated a signature for the following public keys:

chia-plotter v0.11 by https://hpool.com
INFO[2021-05-15T12:12:45-03:00] Fingerprint: 1528681774                      
INFO[2021-05-15T12:12:45-03:00] Farmer Public Key (fpk): 0x8cbd0ec8d2f790a5687d7c4f6ebe37b91e551625f574cb0cf2430a7144043438743788b3de8e75d4a689e6daaf6fc24e 
INFO[2021-05-15T12:12:45-03:00] Pool Public Key (ppk): 0xad44b770f25d46f8b8fe9c0a15a826b011da4068426bd07f6dbab17ef854be7d072968470c3cfeee43cd618b9c6f9c0a 
INFO[2021-05-15T12:12:45-03:00] Signature: <<<signature>>>
INFO[2021-05-15T12:12:45-03:00] Signature for address: <<<address>>> 
INFO[2021-05-15T12:12:45-03:00] Signature Expiry at: 2021-05-16 12:12:45 -0300 -03 

The fingerprint did not match what appeared on the chia blockchain App. I ran the windows GUI version of the plotter and it generated the signature with the correct farmer and pool public keys, so I think this is a bug.

sailorbg commented 3 years ago

AFSIK everything should be running on the same mashine OS. If you generate the keys on the different machine they will be differ.

h9-dev commented 3 years ago

The fingerprint is same with chia wallet? Maybe your mnemonic is miss match.

sandoval commented 3 years ago

I think the signature is only dependant on the mnemonic. I made sure the mnemonic was the same, on windows GUI it worked (and chia was not running there) and on linux it did not work (chia was running on linux).

I believe it is some kind of bug since I checked the mnemonic.