From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 70E0B2C for ; Wed, 30 May 2018 19:03:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from bitcoin.jonasschnelli.ch (bitcoinsrv.jonasschnelli.ch [138.201.55.219]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id A70DF224 for ; Wed, 30 May 2018 19:03:51 +0000 (UTC) Received: by bitcoin.jonasschnelli.ch (Postfix, from userid 1002) id 892A315E4E00; Wed, 30 May 2018 21:03:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from [192.168.0.13] (cable-static-238-67.teleport.ch [213.188.238.67]) by bitcoin.jonasschnelli.ch (Postfix) with ESMTPSA id 42BAD15E4DFC; Wed, 30 May 2018 21:03:50 +0200 (CEST) From: Jonas Schnelli Content-Type: multipart/signed; boundary="Apple-Mail=_614AFB59-5C91-47CC-AEFD-09BDE568338B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Date: Wed, 30 May 2018 21:03:46 +0200 References: To: shiva sitamraju , Bitcoin Protocol Discussion In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.6.18) X-Virus-Scanned: clamav-milter 0.99.4 at bitcoinsrv.jonasschnelli.ch X-Virus-Status: Clean Subject: Re: [bitcoin-dev] New serialization/encoding format for key material X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 19:03:52 -0000 --Apple-Mail=_614AFB59-5C91-47CC-AEFD-09BDE568338B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi > - Visually Comparing two keys to find if they are same (Important) > - Different wallet software could set different birthday/gap limit. = creating different xpub/xprv for the same set of mathematically derived = individual keys. This removes the decoupling between key and wallet = metadata What would be the downside of encoding the same key with different = metadata (resulting in different "visual strings=E2=80=9C)? If you import it into the same software, it would be trivial to detect = it. If you import it into another software, it probably doesn=E2=80=99t = matter. Visual comparing is eventually a broken concept (agree with Greg) and I = doubt that this property is important, and IMHO basic metadata seems = more important then this - very likely irrelevant - visual property. Also, I think a recovery based on a sole xpriv (or + limited amount of = meta-data as described in this proposal) is a disaster recovery (or = forensic recovery). Long term, I would wish, if wallet-metadata including transaction based = user metadata would be backed up - after encrypted with a key that can = be derived from the seed - in a way, where you need the seed to recover = that backup thus it can be stored in cheap, insecure spaces. >=20 > In fact, same could be argued to add birthday to WIF private key = format to let wallet discover funds faster. >=20 The proposal I made can be seen as a replacement for WIF (it can replace = WIF and xpriv/xpub) since it can encode a single private key into = 275bits (still pretty short Bech32 string). /jonas --Apple-Mail=_614AFB59-5C91-47CC-AEFD-09BDE568338B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyhopCNzi8TB0xizeHrd2uwPHki0FAlsO9ZIACgkQHrd2uwPH ki1mqg/7BCErZI8sdwRKqr0/mlpIb6h/V8xJRoHcaEuINA9D/FMcokJeRcc7vB3D 8xoOACmg2FzCOSxZUw2r5CclXgwxuPIu1fCOU68GMGc9YagKqF+jXyv3ywUwHk3o xO7nnT3bG8IVxRfSELT+wT4bJVOuQl0Aw5P8cidcotzi7n5a1dPMYa6iKfUf1uJO aDSFOrE57iZ1/eO4s45+Q6U306eSWzcxSJIlfRY3Ls+7h3MU8n8y0T5Mpol5u4/b ovyu9jJ5ePiCKMGKaBhH2fgJFzhqQdlTNFeoLz25jt/jyP0xkc4XOiaxHfDP4Tgp WMuGBuqrdmjXPrZ2RDtRfWSPEB7KV9zZZJ/yTn5/1VX12Ti83lN8GuqSbTXk3WcO Oyzb55HReWSoJwXUGLwk/xf7D93Arui1PgbPC2f/WjivLVaC1VI8xYwTdMOqJyXy 2kikVCG9LN5uwz5C4eA5HJnzTyKFlQc297HBqoFhLpt33TJCE3J3EZaTW3b0KVcy UvBGJhZjFKKaYUbjpXODdLC0JPBJ6JXtXK0NDmWb8gz4+YuchlvNP173PDrKs5g7 QO72aVLhsFPnTo/79gpFJxleOfaaGtbo7QGc+PHyPS0pWbwZlgVkbQRUgeDFuDjk lHNyi79Vyyu+T0pBygR+9yYfb31HIJoIoj+4CqwHYWbLVIr3Vnk= =vPr/ -----END PGP SIGNATURE----- --Apple-Mail=_614AFB59-5C91-47CC-AEFD-09BDE568338B--