BIP-85 is so freakin cool. 24 Words and a passphrase to derive

- your Bitcoin wallet

- your Lightning keys

- your nostr keys

- your GPG keys

🔑🔥

Reply to this note

Please Login to reply.

Discussion

Explain better for mere mortals, please 🙏🫂

One key to rule them all. Your bitcoin wallet could be your Nostr signer.

But I would have to make new nsec keys and a new btc wallet... Right?

Yeah most likely. It's a hassle, but that's the price of being early.

Yes unfortunately hahaha

That MF'ing seedplate is getting buried so deep...

Yes! Usually I do not recommend using a passphrase, but if you do this you should have one IMHO

Where does one use their GPG keys? I’ve seen it quite a lot but I have no idea how one would use it. It seems to be related to emails?

It can be used to encrypt / decrypt messages (for e2ee messages like email), but also for signing data. For example code I commit to repositories is signed using my gpg key. If you want to verify that a commit was indeed pushed by me, you can verify the signature on it.

Many developers sign their releases as well. For example when you download Sparrow Wallet you can get an additional signature file to verify that the release was indeed created by nostr:npub1hea99yd4xt5tjx8jmjvpfz2g5v7nurdqw7ydwst0ww6vw520prnq6fg9v2

How does one get that from bip85. Doesn’t bip85 just produce 12 or 24 word seed phrase? How does that translate to a PGP?

No, BIP85 does not produce seed phrase. It produces “entropy”. See the bip for different examples: https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki

Thanks for that. Really useful. Reminds me why

Nostr > X(Twitter)

Keys are life

BTW, just 12 worlds is enough for derivation. The benefit is that you can remember your seed phrase quite easily.

How do you define “enough”? If anyone where to use BIP-85 for their whole key setup i would definitely recommend getting 24 words

The used derived entropy is roughly 128 bit. So there may be an advantage for finding seed words, but not for the derived keys. https://bitcoin.stackexchange.com/questions/48258/the-length-of-the-bitcoins-private-keys

This is true for every single derived key, yes. However if your parent key is the source for many different key sets (as it is the case with bip-85) the strength of the parent is most important

Count of entropy bits

I would argue that the key that deterministicly derives all your other keys can not have “enough” entropy

I whish we could also derive age keys from it : https://github.com/FiloSottile/age/issues/277

How do you derive nostr keys?

I spend yesterday two hours to reproduce the derivation of the base64 password from the given hex entropy in BIP-85 example. First by hand, then by importing the hex entropy into a hex-base64 converter. Neither gave the password. Any other steps to do?

What are the Lightning keys?