summaryrefslogtreecommitdiff
path: root/6a/b5e5ab036646acdc4dfacdb506f2463e0700f8
blob: c616fce7233d6e36249a094d22b2b30dd7322ad9 (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
Return-Path: <nicolas@ledger.fr>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id C19BB8D4
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 17 Aug 2016 07:27:05 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-yb0-f173.google.com (mail-yb0-f173.google.com
	[209.85.213.173])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 09E88112
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 17 Aug 2016 07:27:05 +0000 (UTC)
Received: by mail-yb0-f173.google.com with SMTP id z10so19372184ybh.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 17 Aug 2016 00:27:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=ledger-fr.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=4/p/uT2frLSygsMRsTvbuKQ2nfDPhbno77fkV8wArBg=;
	b=QA24ZSUpm/aFo6kqRP4Zj1M387XN/oWIEmfzM3jMMlg3ZMa25ymFksXGa0Vcn9sCFY
	VsSLx213eG2zzOk1ZUOXQUt/D1jc+/YGNMS3HdQe3BUXLoL2H2nMN014BLI5FZkGtQ5q
	53IMXncAf7mR+Kkh7Xjw08tpRKO8PYWC5wJd7aWh0UOyLgDom/CRQqQiQkD1dA45+hXX
	G1a5PED4n7l8BOYcLKq81FdUD17wNyS4uGPqJrjWPTUx5owPBx6LDi5EqUvl9XLUHamr
	vTrc7jCZ5orTEFMfsF1fUTm+Z9HzA4E0wnIjtaHbY0cZhqgDNTRHwDPXtRQSMmzXeG50
	6yGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to;
	bh=4/p/uT2frLSygsMRsTvbuKQ2nfDPhbno77fkV8wArBg=;
	b=j7ImhAjm7I6r6SKhCCaQbg14jTSbvNUSi9ZdCxpIE5lWNnHwDKVW6FpVJAYs0YgYAQ
	EMdKWWUK2WbWlHR7GcDwKqMJHN7Jkf5HtWVG2jyf0r5IMn1lzw3m1/9ShAGUxJlvAnlk
	7hhMMPQb+k/sjHr7Wuk+EjiknQTosmNU5ROwKO7VnKUJXv/+yxEHqhX7jSF++tbGXZN4
	qng4hi1BiYGYJf8Uchv+v6kP7ZaQeS4RwZakHd/bHZRWN4Nkj8DDyALl/9k6sngZYEPq
	7N+5lA+7xUEN7U+RfkTrdhktedOtVFzaDvoFOvEnbKTwKL9TsG6GXYrC+155lQ7HdB9V
	V9HQ==
X-Gm-Message-State: AEkoousrzc5EouXLS7AiJoKk+xDibiJ8tOKRDG6WEX4r3q1XAUB84NG4yG96kaq1h6fjgJoxhESPx53Nqi0jtg==
X-Received: by 10.37.218.131 with SMTP id n125mr24931278ybf.162.1471418823986; 
	Wed, 17 Aug 2016 00:27:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.157.73 with HTTP; Wed, 17 Aug 2016 00:27:03 -0700 (PDT)
In-Reply-To: <20160817001407.GA6571@fedora-21-dvm>
References: <57B31EBC.1030806@jonasschnelli.ch>
	<0501f5c2-611c-53c1-5fd1-d4da5ba5137b@gmail.com>
	<20160817001407.GA6571@fedora-21-dvm>
From: Nicolas Bacca <nicolas@ledger.fr>
Date: Wed, 17 Aug 2016 09:27:03 +0200
Message-ID: <CALGb227zi6FUtjkGAScqttk9xfz_p+D6Tx7q30aCJP5rNgPvkg@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=94eb2c07e256521f5c053a3f6493
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
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: Wed, 17 Aug 2016 07:27:05 -0000

--94eb2c07e256521f5c053a3f6493
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 17, 2016 at 2:14 AM, Peter Todd via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

>
> I'm not aware of any ECC-enabled smart-cards that can sign the specific
> curve
> that Bitcoin uses, not to mention the fact that those smartcards generally
> only
> speak higher level protocols than raw signature generation, precluding the
> signing of bitcoin transactions.
>

any Java Card supporting ECC can sign on user supplied Weierstrass curve
parameters - you can find a good shopping list at
http://www.fi.muni.cz/~xsvenda/jcsupport.html (look for ALG_ECDSA_SHA256 on
javacard.crypto.signature). The NXP JCOP platform (found in Yubico Neo) is
a popular choice, and then you can add your own custom logic for validation.

-- 
Nicolas Bacca | CTO, Ledger

--94eb2c07e256521f5c053a3f6493
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Wed, Aug 17, 2016 at 2:14 AM, Peter Todd via bitcoin-dev <span dir=3D"lt=
r">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_=
blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><span class=3D""><br>
</span>I&#39;m not aware of any ECC-enabled smart-cards that can sign the s=
pecific curve<br>
that Bitcoin uses, not to mention the fact that those smartcards generally =
only<br>
speak higher level protocols than raw signature generation, precluding the<=
br>
signing of bitcoin transactions.<br></blockquote><div><br></div><div>any Ja=
va Card supporting ECC can sign on user supplied Weierstrass curve paramete=
rs - you can find a good shopping list at=C2=A0<a href=3D"http://www.fi.mun=
i.cz/~xsvenda/jcsupport.html">http://www.fi.muni.cz/~xsvenda/jcsupport.html=
</a> (look for ALG_ECDSA_SHA256 on javacard.crypto.signature). The NXP JCOP=
 platform (found in Yubico Neo) is a popular choice, and then you can add y=
our own custom logic for validation.</div><div>=C2=A0</div></div>-- <br><di=
v class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"=
ltr"><div dir=3D"ltr">Nicolas Bacca | CTO, Ledger<div><br></div><div><br></=
div><div><br></div></div></div></div>
</div></div>

--94eb2c07e256521f5c053a3f6493--