summaryrefslogtreecommitdiff
path: root/58/5051b989e217715756196a061b88f55330263d
blob: 0dc7a454a7e15ce01686a7655f7450ab25cba018 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
Delivery-date: Mon, 01 Sep 2025 04:34:46 -0700
Received: from mail-ot1-f56.google.com ([209.85.210.56])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBDQ6BG4PT4CRBS4J23CQMGQEAUXTB3Y@googlegroups.com>)
	id 1ut2o9-0003fc-M0
	for bitcoindev@gnusha.org; Mon, 01 Sep 2025 04:34:46 -0700
Received: by mail-ot1-f56.google.com with SMTP id 46e09a7af769-745599e700esf2939665a34.0
        for <bitcoindev@gnusha.org>; Mon, 01 Sep 2025 04:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1756726479; x=1757331279; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:sender:from
         :to:cc:subject:date:message-id:reply-to;
        bh=bHLAJ6qrcVY+O0A6ZzQXDdAMtaVx3L3U4FfJd4XNixc=;
        b=XaVSJXNN9NV4xEaG0tuEpcODhM1NL+XjZKLcs4IDsgs3274zbYFMx3wGrEMcGXdtS6
         XSWAZCJKPZQCtm3jxZBRBRF37/N/MSY0s3r7bY9ptxhLpF+yzpwtpSMRnnBP0+S1XkiF
         iHplMOXxnzXwMPw+YGUxN5NsGvEJK5QJQ7GBeyM7/GLvsDtHmVbM2jc14Kc1rqnDVsBi
         tNzHXxxNBRZOJL3C6jRlB3k1Zl3r45RnZt+Ntf9ba7lBnaKpnggGmhevL80aqxU4n8yj
         K5/ZxB9fszy/sIp7AnbJK+wqiGdOQl5Ybx3XT2Ac62NAHmVbnJ+sTtfL2x46Bo42iGus
         quBA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1756726479; x=1757331279; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:from:to:cc
         :subject:date:message-id:reply-to;
        bh=bHLAJ6qrcVY+O0A6ZzQXDdAMtaVx3L3U4FfJd4XNixc=;
        b=BIWXVdJPZUuCN5mEfPvHSkZrvPk7RLldbRZ4Hrl6diFjAUvLZy0QFbJl55s+a6yoYh
         Qd7I+5Yg3F3XrtsaHmmHdctGepTlN6FsSgyLHq96D1DEaJkgYyqqORmQuou5ONweNDlS
         NGDMttggjKu1jUBb4fji28dzUjxmvmhCpM8T+0STs4sRdR7v+SJI+Yp8htb1NmX7EQ6m
         rZx3FJzDwHvBv6uN5aYJSAEWrNfQQpaPBPfeOt5IIzpIUWYa2hHYoN8KBAVSkCsNte2N
         fqIVyt2VTC2VMLzy403YIeOhq9xH0LaUnae3osvPVa0jHNFu0Z+Eewi8zog/Hfab2Wjj
         X8lg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1756726479; x=1757331279;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:x-beenthere
         :x-gm-message-state:sender:from:to:cc:subject:date:message-id
         :reply-to;
        bh=bHLAJ6qrcVY+O0A6ZzQXDdAMtaVx3L3U4FfJd4XNixc=;
        b=Jxil/aQiPdCzYSUSvzDnK5SyuwlUB785sNukpPtak4OU94WZ9J+wT6hGlY0Wo7p1U9
         Nbu78e7WuuAllHNeg6dLE+fxaos3kR+Nl4hBsTwrxlOtc/mKrm1sfezGUrTZGSw+hKDL
         6JeLcLaIc9G0MelbP53nQOHmOKNvcYXrEcDS+2fYIaGLZyCyZ239IXtLtp9lLgvIoC+q
         u72OJmanxmlzYiGSRx3wVy1+fekRuoKYRJilQcK0ien03rcY6xed9xmPJIM3GgCBinzx
         y9A5i0fqPWFwlqgHAlj077+UyxM4AVWYfA+O3UpRwPOtN7otWcnIC00GhPDpY6maCK+A
         Tb+w==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCU/iEMZ0xm4Furn4ZU8eSF78SPr3Engs+lccmB88YRHw0grw7EKFdBguJ+WcgGJlwuZAUCQV8BFRJ9X@gnusha.org
X-Gm-Message-State: AOJu0YwU9Ip/vgVJJLTyboS2RZ+E8Rx7Khm08EaeP84kAby3meBfGFpK
	Ykrev8n2jllp0+vp/Sh+WakvgimijszFr/IaptJ1ox8DXNLE9XmMWtzV
X-Google-Smtp-Source: AGHT+IG/MlAPnsfyaN7ZSynRraWdemLDccmE2mKMgtTWs/t+7XLtbdHHexUpKmOYMqWrYBQE69yUuA==
X-Received: by 2002:a05:6830:498f:b0:73e:5bdd:a26a with SMTP id 46e09a7af769-74569dca2e0mr3805268a34.9.1756726478940;
        Mon, 01 Sep 2025 04:34:38 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZeKoQJCOWu1WBNzQeKAwG2KVjxJd7QSUGRG5e4yE7e3Kw==
Received: by 2002:a05:6820:4408:b0:61d:9c62:11c3 with SMTP id
 006d021491bc7-61e124ea39els843542eaf.0.-pod-prod-00-us; Mon, 01 Sep 2025
 04:34:35 -0700 (PDT)
X-Received: by 2002:a05:6808:2199:b0:406:6aa1:38d9 with SMTP id 5614622812f47-437f7d62530mr3042125b6e.13.1756726475788;
        Mon, 01 Sep 2025 04:34:35 -0700 (PDT)
Received: by 2002:a05:690c:2b83:b0:71b:f426:a5b0 with SMTP id 00721157ae682-72281037cc5ms7b3;
        Mon, 1 Sep 2025 01:41:26 -0700 (PDT)
X-Received: by 2002:a05:690c:9205:b0:71e:7a40:7efb with SMTP id 00721157ae682-72273c0fbdcmr76971327b3.11.1756716085274;
        Mon, 01 Sep 2025 01:41:25 -0700 (PDT)
Date: Mon, 1 Sep 2025 01:41:24 -0700 (PDT)
From: Javier Mateos <javierpmateos@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <8a0d48f9-bc15-492f-8b81-14dac4729a5cn@googlegroups.com>
In-Reply-To: <774faeb9-6c6b-4545-8071-56ec03e78cd0n@googlegroups.com>
References: <774faeb9-6c6b-4545-8071-56ec03e78cd0n@googlegroups.com>
Subject: [bitcoindev] Re: [BIP Proposal] Add BIP-0093 (Codex32) as application
 to BIP-0085
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_415410_1666817511.1756716084810"
X-Original-Sender: javierpmateos@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)

------=_Part_415410_1666817511.1756716084810
Content-Type: multipart/alternative; 
	boundary="----=_Part_415411_1797191823.1756716084810"

------=_Part_415411_1797191823.1756716084810
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Ben,

Thank you for your proposal to integrate BIP-0093 (codex32) as an=20
application within BIP-0085

Reviewing the specification,  I believe I see two areas where we could=20
improve clarity for implementers:

1) The DRNG=E2=86=925-bit extraction process could benefit from explicit ps=
eudocode=20
to avoid implementation variations
2) The rule 'threshold =3D=3D 0 implies n =3D=3D 1' currently appears as a =
note but=20
could be clearer as a normative requirement"

Best Regards,
Javier Mateos

El domingo, 31 de agosto de 2025 a las 19:29:46 UTC-3, Ben Westgate=20
escribi=C3=B3:

> Hello bitcoin-dev,
>
> I=E2=80=99m Ben Westgate, a contributor interested in deterministic walle=
t backups=20
> and seed management.
>
> Per BIP-0002, I propose listing *BIP-0093 (codex32)*=20
> <https://github.com/bitcoin/bips/blob/master/bip-0093.mediawiki> as an=20
> application of
> *BIP-0085 (Deterministic Entropy from BIP32 Keychains)=20
> <https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki>*,=20
> similar to the existing BIP39 application. This allows wallets to derive=
=20
> codex32 backups from BIP-0032 master keys.
>
> *Summary*=20
>
>    -=20
>   =20
>    Application number: 93'
>    - Derivation path:=20
>    m/83696968'/93'/{hrp}'/{threshold}'/{n}'/{byte_length}'/{id0}'/{id1}'/=
{id2}'/{id3}'/{index}'=20
>   =20
> Codex32, defined in BIP-93, is a human-readable encoding with checksummin=
g=20
> and share indexing designed for SSS backups of BIP-0032 seeds. This PR=20
> proposes a deterministic way to generate codex32 strings using BIP-85.
>
> *Rationale*=20
>
>    -=20
>   =20
>    Mirrors the existing BIP-85 application for BIP-39.
>    -=20
>   =20
>    Codex32 offers error correction, hand verification, identifiers, and=
=20
>    secret sharing features compared to BIP-39.
>    -=20
>   =20
>    Adds a standardized way for wallets to generate codex32 backups from=
=20
>    BIP-85-derived entropy
>    -=20
>   =20
>    Test vectors and reference implementation are linked to in the PR.
>   =20
> *Risks and alternatives*=20
>
>    -=20
>   =20
>    Wallet adoption of codex32 is still limited, though a draft PR #32652=
=20
>    <https://github.com/bitcoin/bitcoin/pull/32652?utm_source=3Dchatgpt.co=
m>=20
>    for importing codex32 strings to Bitcoin Core has support.
>    - Codex32 implementers could use the BIP-85 dice application, but=20
>    defining a direct application improves interoperability.
>
> PR:=20
> https://github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex32=
=20
> <https://github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex3=
2?utm_source=3Dchatgpt.com>
>
> Feedback is welcome.
> Best regards,
> Ben Westgate

--=20
You received this message because you are subscribed to the Google Groups "=
Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
8a0d48f9-bc15-492f-8b81-14dac4729a5cn%40googlegroups.com.

------=_Part_415411_1797191823.1756716084810
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Ben,<br /><br />Thank you for your proposal to integrate BIP-0093 (codex=
32) as an application within BIP-0085<br /><br />Reviewing the specificatio=
n, =C2=A0I believe I see two areas where we could improve clarity for imple=
menters:<br /><br />1) The DRNG=E2=86=925-bit extraction process could bene=
fit from explicit pseudocode to avoid implementation variations<br />2) The=
 rule 'threshold =3D=3D 0 implies n =3D=3D 1' currently appears as a note b=
ut could be clearer as a normative requirement"<br /><br />Best Regards,<br=
 />Javier Mateos<br /><br /><div class=3D"gmail_quote"><div dir=3D"auto" cl=
ass=3D"gmail_attr">El domingo, 31 de agosto de 2025 a las 19:29:46 UTC-3, B=
en Westgate escribi=C3=B3:<br/></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); paddin=
g-left: 1ex;"><p>Hello bitcoin-dev,</p>
<p>I=E2=80=99m Ben Westgate, a contributor interested in deterministic wall=
et backups and seed management.</p>
<p>Per BIP-0002, I propose listing <a href=3D"https://github.com/bitcoin/bi=
ps/blob/master/bip-0093.mediawiki" target=3D"_blank" rel=3D"nofollow" data-=
saferedirecturl=3D"https://www.google.com/url?hl=3Des&amp;q=3Dhttps://githu=
b.com/bitcoin/bips/blob/master/bip-0093.mediawiki&amp;source=3Dgmail&amp;us=
t=3D1756802223954000&amp;usg=3DAOvVaw0bEJCpqsifMF9gZBC3DYsB"><strong>BIP-00=
93 (codex32)</strong></a> as an application of<br>
<strong><a href=3D"https://github.com/bitcoin/bips/blob/master/bip-0085.med=
iawiki" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://=
www.google.com/url?hl=3Des&amp;q=3Dhttps://github.com/bitcoin/bips/blob/mas=
ter/bip-0085.mediawiki&amp;source=3Dgmail&amp;ust=3D1756802223954000&amp;us=
g=3DAOvVaw2wm0Lu_1uIAxfXLZgc7kdF">BIP-0085 (Deterministic Entropy from BIP3=
2 Keychains)</a></strong>, similar to the existing BIP39 application. This =
allows
wallets to  derive codex32 backups from BIP-0032 master keys.</p>
<p><span><b>Summary</b></span>
</p><ul><li>
<p>Application number: <span>93&#39;</span></p>
</li><li>
Derivation path: <span>m/83696968&#39;/93&#39;/{hrp}&#39;/{threshold}&#39;/=
{n}&#39;/{byte_length}&#39;/{id0}&#39;/{id1}&#39;/{id2}&#39;/{id3}&#39;/{in=
dex}&#39;</span> <br></li></ul><p>Codex32, defined in BIP-93, is a human-re=
adable encoding with checksumming and share indexing designed for SSS backu=
ps of BIP-0032 seeds. This PR proposes a deterministic way to generate code=
x32 strings using BIP-85.</p>
<p><span><b>Rationale</b></span>
</p><ul><li>
<p>Mirrors the existing BIP-85 application for BIP-39.</p>
</li><li>
<p>Codex32 offers error correction, hand verification, identifiers, and sec=
ret sharing features compared to BIP-39.</p>
</li><li>
<p>Adds a standardized way for wallets to generate codex32 backups from BIP=
-85-derived entropy<br></p>
</li><li>
<p>Test vectors and reference implementation are linked to in the PR.<br></=
p></li></ul><p>
</p><p><b><span>Risks and alternatives</span></b>
</p><ul><li>
<p>Wallet adoption of codex32 is still limited, though a draft <a rel=3D"no=
opener nofollow" href=3D"https://github.com/bitcoin/bitcoin/pull/32652?utm_=
source=3Dchatgpt.com" target=3D"_blank" data-saferedirecturl=3D"https://www=
.google.com/url?hl=3Des&amp;q=3Dhttps://github.com/bitcoin/bitcoin/pull/326=
52?utm_source%3Dchatgpt.com&amp;source=3Dgmail&amp;ust=3D1756802223954000&a=
mp;usg=3DAOvVaw2oJNr7Rsoe72k1FixYqpK9">PR #32652</a> for importing codex32 =
strings to Bitcoin Core has support.</p></li><li>Codex32 implementers could=
 use the BIP-85 dice application, but defining a direct application improve=
s interoperability.</li></ul><p>PR: <a rel=3D"noopener nofollow" href=3D"ht=
tps://github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex32?utm=
_source=3Dchatgpt.com" target=3D"_blank" data-saferedirecturl=3D"https://ww=
w.google.com/url?hl=3Des&amp;q=3Dhttps://github.com/bitcoin/bips/compare/ma=
ster...BenWestgate:bips:codex32?utm_source%3Dchatgpt.com&amp;source=3Dgmail=
&amp;ust=3D1756802223954000&amp;usg=3DAOvVaw1gvwPV7iMQDu85TSwuWdYY">https:/=
/github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex32</a></p><=
p>Feedback is welcome.</p>Best regards,<br>Ben Westgate</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/8a0d48f9-bc15-492f-8b81-14dac4729a5cn%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoind=
ev/8a0d48f9-bc15-492f-8b81-14dac4729a5cn%40googlegroups.com</a>.<br />

------=_Part_415411_1797191823.1756716084810--

------=_Part_415410_1666817511.1756716084810--