summaryrefslogtreecommitdiff
path: root/90/c2b54ed79129f475509a8618f1211cbc1ccbd8
blob: 890d62c57efd1504c4652b93ac9106b3d35b0aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Return-Path: <dev@jonasschnelli.ch>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 70E0B2C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	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 <bitcoin-dev@lists.linuxfoundation.org>;
	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 <dev@jonasschnelli.ch>
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: <CABuOfuhMGFGc1tyjcOmnUk1OrWp2d6ppKc8phLT9pXCj8vs+qg@mail.gmail.com>
To: shiva sitamraju <shiva@blockonomics.co>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
In-Reply-To: <CABuOfuhMGFGc1tyjcOmnUk1OrWp2d6ppKc8phLT9pXCj8vs+qg@mail.gmail.com>
Message-Id: <FE65454B-B30A-4CEF-B568-B2746BD2BC0B@jonasschnelli.ch>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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--