Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Coding Enthusiast on May 07, 2020, 04:42:40 AM



Title: Are there any encryption proposals like BIP38?
Post by: Coding Enthusiast on May 07, 2020, 04:42:40 AM
I'm implementing encryption proposals in Bitcoin.Net but I've only been able to find BIP38. So I was wondering if there are anything else (doesn't have to be a BIP), maybe something that covers encryption used for mnemonics.


Title: Re: Are there any encryption proposals like BIP38?
Post by: odolvlobo on May 07, 2020, 06:10:52 AM
I'm implementing encryption proposals in Bitcoin.Net but I've only been able to find BIP38. So I was wondering if there are anything else (doesn't have to be a BIP), maybe something that covers encryption used for mnemonics.

Beyond encrypting wallet data, I don't think there is much use of encryption in Bitcoin.

BIP-39 doesn't use encryption but it specifies an optional passphrase for the key derivation.

Lightning uses encryption.


Title: Re: Are there any encryption proposals like BIP38?
Post by: Coding Enthusiast on May 07, 2020, 08:33:24 AM
Beyond encrypting wallet data, I don't think there is much use of encryption in Bitcoin.
Another major usage is for physical backups and cold storage where users print their keys or master keys. Those backups also must be encrypted for extra security. BIP38 comes in here but there is no standard for encrypting extended keys or mnemonics which is what nearly all wallets use these days.

BIP-39 doesn't use encryption but it specifies an optional passphrase for the key derivation.
That can't be categorized as encryption though.

Lightning uses encryption.
That is in my to-do list. Hopefully I can implement that too by the end of this year.


Title: Re: Are there any encryption proposals like BIP38?
Post by: goatpig on May 07, 2020, 08:52:53 AM
BIP151. A bit off topic I guess.


Title: Re: Are there any encryption proposals like BIP38?
Post by: Coding Enthusiast on May 07, 2020, 09:30:03 AM
BIP151. A bit off topic I guess.
It is marked as withdrawn. I haven't seen any project that uses this proposal. If I can find any, I would implement it.


Title: Re: Are there any encryption proposals like BIP38?
Post by: goatpig on May 07, 2020, 10:35:08 AM
It's been in the process of an overhaul. Change to the handshake and key generation. You'd have to ask Jonas Schnelli directly I guess, I lost the link to the proposal. I think it was assigned a BIP number though. As for projects using it, there aren't that many, but I'm hoping this proposal will eventually find its way into the Core feature set.


Title: Re: Are there any encryption proposals like BIP38?
Post by: odolvlobo on May 07, 2020, 05:45:03 PM
Not a BIP, but the Edge wallet (formally known as Airbitz) uses a username and password to encrypt the seed, which is stores on its servers.