cryptoadvance / specter-diy

DIY airgapped hardware wallet that uses QR codes for communication with the host
MIT License
440 stars 73 forks source link

add bw hack with zero fingerprint #176

Closed stepansnigirev closed 2 years ago

stepansnigirev commented 2 years ago

BlueWallet makes up derivation path if you scan just ypub / zpub without derivation path. Master fingerprint provided in the derivation is 0x000000 in this case. This PR adds a check if zero-fingerprint pubkey belongs to us and if so - replaces the fingerprint with ours.