summaryrefslogtreecommitdiff
path: root/d2/f666dd254458b650c64990e91ad5f5ea173494
blob: 77bbe09a7355916a96144834f1128f0d6f21778c (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
124
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 0D84491A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 16 Aug 2016 15:13:39 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from server3 (server3.include7.ch [144.76.194.38])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id 6A0ED16B
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 16 Aug 2016 15:13:38 +0000 (UTC)
Received: by server3 (Postfix, from userid 115)
	id 8AAE02E605AE; Tue, 16 Aug 2016 17:13:37 +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, FSL_HELO_NON_FQDN_1
	autolearn=ham version=3.3.1
Received: from Jonass-MacBook-Pro-2.local (cable-static-140-182.teleport.ch
	[87.102.140.182]) by server3 (Postfix) with ESMTPSA id D5C0C2D002F0;
	Tue, 16 Aug 2016 17:13:36 +0200 (CEST)
To: Pavol Rusnak <stick@satoshilabs.com>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
References: <57B31EBC.1030806@jonasschnelli.ch>
	<342485b4-586d-c753-94b6-999d5fc14e46@satoshilabs.com>
From: Jonas Schnelli <dev@jonasschnelli.ch>
Message-ID: <57B32D9D.8080908@jonasschnelli.ch>
Date: Tue, 16 Aug 2016 17:13:33 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
	Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <342485b4-586d-c753-94b6-999d5fc14e46@satoshilabs.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="jtbKrtc7M8PLvHndJptfkuBaWg5Q5GB7T"
Subject: Re: [bitcoin-dev] Hardware Wallet Standard
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: Tue, 16 Aug 2016 15:13:39 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--jtbKrtc7M8PLvHndJptfkuBaWg5Q5GB7T
Content-Type: multipart/mixed; boundary="jIhHJeK3VEOUaRhl4sDa0cOlvQJoaGVAR"
From: Jonas Schnelli <dev@jonasschnelli.ch>
To: Pavol Rusnak <stick@satoshilabs.com>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <57B32D9D.8080908@jonasschnelli.ch>
Subject: Re: [bitcoin-dev] Hardware Wallet Standard
References: <57B31EBC.1030806@jonasschnelli.ch>
 <342485b4-586d-c753-94b6-999d5fc14e46@satoshilabs.com>
In-Reply-To: <342485b4-586d-c753-94b6-999d5fc14e46@satoshilabs.com>

--jIhHJeK3VEOUaRhl4sDa0cOlvQJoaGVAR
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

> I think it does not make sense to try to get this standardized for
> current Bitcoin transactions. They are just too complex.
>=20
> What might be interesting is to have something similar for Segwit and
> Lightning transactions.
>=20
> * TREZOR performs extended validation of the inputs, when all of
> prev-txs are streamed into the device and validated. Your standard does=

> not tackle this at all and I don't think it's worthy to make this
> standard unnecessarily complicated.

I'm aware of this approach but I don't think this makes sense long term.
We need a better way on the protocol level to validate inputs amounts
(where segwit is a first step towards this).

IMO, not having a standard for hardware wallet interfaces/communication
will long term result in reducing the end user experience.

I think we should collaborate together and work out a standard.

My goal is to add hardware wallet support in Bitcoin-Core where adding
proprietary code (plugin-ish) is something we don't want to do for the
sake of security and compatibility.

As said, the "BIP" is very draft and I'm happy to include the input
streaming as part of it (or you could add it if you want because you
have more experience with it).

</jonas>


--jIhHJeK3VEOUaRhl4sDa0cOlvQJoaGVAR--

--jtbKrtc7M8PLvHndJptfkuBaWg5Q5GB7T
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXsy2dAAoJECnUvLZBb1PsxX4QALsgdEyw2vIYJU6z7tN8/98V
Fp032Rq1R0Kxnb4JOmWxTnMWWeK8qyrIOHKGE5ohT1mNJkdkboeNnpISSbUcagkp
blfHP+DRDP8t8Eas0MQiYJDXXsykJqo/gIbeVwt0IO1wff2ci7DTJKkCzCLaNHTm
EfS1s7tw7ePg8HbF2scHMMKFQkHUV2LFZTwg5ky2l/iWlKqy+dg6CcxXhdorw50q
5VrYuTh496vOMjzwv7VafTHpTT/PvgzLqeJkAvpInBmYXPLL8uxSEYrZBUK2xiEt
GKh+apjB0EaT7Ix/marFcsEMdzhyKB82KHF9ySg+/4hc63azOmKkHJ/j9K4B8+xn
iB9YAGNaOjCnTqb9LflCZTBstzPqzfGTfxw+eA3D6eVJq4BMbNqsU8NQA8ON5NOS
WPHLwFCZrqlnblW3IAwRppYhyO6mgVspQQWPsQivZCrMEuGolPGmczTibYstUzVp
23lJNuWozMaC7tm49jALkCfEdmVN/9TDaW7GMDeZS/FTL0I8bG/BI2xh1NngGVWg
CvNYgAvUjyffiWMRUchwfHfJmaqnO7UtzrVYcOjVtcUR1ByLH7zxkuceV9ZCIr69
F5Nb2LxP3R4e4KqGnDsBk0hfnpKZhYZw4OWBWQ7H6HxRL3qYFDxsVryrlMB01GF8
D4/Vu6/a/km1++IbH0DG
=BlQ8
-----END PGP SIGNATURE-----

--jtbKrtc7M8PLvHndJptfkuBaWg5Q5GB7T--