Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Fabricus on August 03, 2020, 07:53:57 PM



Title: Ethereum BIP38 password-encrypted paper wallets
Post by: Fabricus on August 03, 2020, 07:53:57 PM
Hi everyone,

Almost everything is in the title. Can we do something like a BIP38 password-encrypted paper wallets but for an Ethereum key or wallet?

I'd like to save some wallet(s) on multiple paper wallets that I could store in various locations for cold storage. As this would be for really long term I don't like ledgers or any electronic device as they could end up being malfunctioning... unlike a paper wallet especially if I replicate it many times ;) The encryption is mostly to make sure I have a good tolerance to one wallet being discovered. Each wallet would be hard to find but not impossible although I would know if someone got access to it and the password protection would buy me time to simply move the coins before the attacked could decrypt it.

Any lead or idea?

Cheers,


Title: Re: Ethereum BIP38 password-encrypted paper wallets
Post by: Paperweight on August 04, 2020, 09:12:37 AM
You can make a password-encrypted keyfile :) with MyEtherWallet online, or offline with geth https://geth.ethereum.org/docs/interface/managing-your-accounts (https://geth.ethereum.org/docs/interface/managing-your-accounts)

For example, you'll get this kind of printable JSON-encoded plaintext keyfile:
Code:
{
 "version": 3,
 "id": "4fa372ab-2035-4ede-a302-df4c270a105b",
 "address": "fe5bcdeec9b48b63b43d58af8aa78adaad32975e",
 "crypto": {
  "ciphertext": "9dd28202137a2314ed1ac03569bf285eba31d7f608fb4c8c06fd33bf1b309a01",
  "cipherparams": {
   "iv": "7c2c4b08137b470b0e4ccc11721b2cf7"
  },
  "cipher": "aes-128-ctr",
  "kdf": "scrypt",
  "kdfparams": {
   "dklen": 32,
   "salt": "de8c8ee7aafceb79682c4ead2128885541c2f903ef048a3ee095770bb2cd6bb8",
   "n": 131072,
   "r": 8,
   "p": 1
  },
  "mac": "9443d46fba7f19a2af2cfcd11068d0457a5636ec92468328fe4e93ed0f084116"
 }
}

That is a pretty future-proof way to do it. Be sure to do a test run to make sure you can actually decrypt it afterwards! ;)

As an aside, I wonder if there is a way to encrypt a cold wallet with multiple layers of passwords, such that you can be alerted if the first layer is broken and used on a special delayed release contract, giving you a chance to recapture the coins within a certain time period with a backup account...


Title: Re: Ethereum BIP38 password-encrypted paper wallets
Post by: Fabricus on August 05, 2020, 05:53:57 PM
Good idea... why didn't I think of it... printing the encrypted json file indeed ;)

Thanks for the heads up :p