sparrowwallet / sparrow

Desktop Bitcoin Wallet focused on security and privacy. Free and open source.
https://sparrowwallet.com/
Apache License 2.0
1.35k stars 190 forks source link

Coldcard PSBT - XFP not involved #552

Closed JCGLabs closed 2 years ago

JCGLabs commented 2 years ago

I'm having trouble signing a PSBT with a coldcard... I get the error: Failure, my XFP not involved

JCGLabs commented 2 years ago

Solved... it was a mistake from my part

marienvo commented 2 years ago

"it was a mistake from my part" is not very helpful for other people who search for this issue 😅 if someone has a similar error; this fixed it for me:

In my case I forgot to set the passphrase on the Coldcard device - not sure why, but Coldcard did not remember it for me

RequestPrivacy commented 2 years ago

IIRC coldcard never remembers the passphrase after turning it off. You always have to reset it.

I believe you can shortcut this if you Lock Down Seed see https://coldcard.com/docs/advanced

Lock Down Seed - Calculates an extended private master key (XPRV) from your BIP-39 seed words and passphrase and then replaces them with the XPRV. This removes the seed words from the secure element and converts your wallet into a BIP-32 hierarchical deterministic wallet.

That way you go "directly" to the wallet which has seed+passphrase during start-up. You will loose the ability to set no passphrase or other passphrases though.