-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stacks-signer] Public Keys Don't Match - Signer Not Registered #4761
Comments
Update: $ ./stacks-signer-fix-signer-pk-hex generate-stacking-signature -p bc1p8vg588hldsnv4a558apet4e9ff3pr4awhqj2hy8gy6x2yxzjpmqsvvpta4 -r 22 --method stack-stx --max-amount 340282366920938463463374607431768211455 --auth-id 1 --period 10 --config signer.toml
Signer Public Key: 0x0303144ba518fe7a0fb56a8a7d488f950307a4330f146e1e1458fc63fb33defe96
Signer Key Signature: 0xd47d49ef4eed1917c3d4d5d1df2f0069b65f88c59b760b1fe26043630956885549b192e78af4c0526468b3872fb1838d4c6cf697f5eb626ef8eefdde28f4343700
$ ./stacks-signer-fix-signer-pk-hex check-config --config signer.toml
Config:
Stacks node host: 127.0.0.1:30443
Signer endpoint: 0.0.0.0:30000
Stacks address: SPYQ2Q584Y5059SEVN695YREBZ3RPJ68GJBQTPV8
Public key: 0303144ba518fe7a0fb56a8a7d488f950307a4330f146e1e1458fc63fb33defe96
Network: mainnet
Database path: /stacks-blockchain/signer/signer.sqlite
DKG transaction fee: 0.01 uSTX
Metrics endpoint: None The link to the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The public keys generated by
generate-stacking-signature
andcheck-config
don't match. I've used the public key generated by stacking signature command instack-aggregation-commit
contract calls and the signer is not registered for cycle 84. The private/public keys are generated directly off secp256k1 package in node:generate-stacking-signature
response:check-config
response:Using
stx get_address <privKey>
,@stacks/transactions
package andcheck-config
all point to the addressSPYQ2Q584Y5059SEVN695YREBZ3RPJ68GJBQTPV8
, while the public key generated fromgenerate-stacking-signature
matches the addressSP2H1N2V9S7PEBC0120S3WMEAT32B9N7CGMPSGF16
(checked by @hstove).On another note, the public key generated by
generate-stacking-signature
is the same one that is being generated in the node script (process.stdout.write([publicKey, ":", privateKey].join(""));
).I haven't seen other signers run into this issue, so that makes me think if it's because of the way the private key is being generated.
The text was updated successfully, but these errors were encountered: