You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing getPublicKeyFromSignature from "micro-stacks/connect" to recoverPublicKey from '@noble/secp256k1'
The latter allows the flag compressed=true to be passed whereas the former hard codes it to false.
The recoverPublicKey recovers the correct pubkey / stxAddress from a signature signed with getOpenSignMessage from '@micro-stacks/svelte whereas incorrect pubkey returned from getPublicKeyFromSignature .
The text was updated successfully, but these errors were encountered:
Using:
"micro-stacks": "^1.1.4",
"@noble/secp256k1": "^1.7.1"
Comparing
getPublicKeyFromSignature from "micro-stacks/connect"
torecoverPublicKey from '@noble/secp256k1'
The latter allows the flag compressed=true to be passed whereas the former hard codes it to false.
The recoverPublicKey recovers the correct pubkey / stxAddress from a signature signed with
getOpenSignMessage from '@micro-stacks/svelte
whereas incorrect pubkey returned from getPublicKeyFromSignature .The text was updated successfully, but these errors were encountered: