summaryrefslogtreecommitdiff
path: root/64/25fcbba8b85caf5abc591687107530ad7dad59
blob: 69fcff856699d8ed8b42c08cee5fae45e02fb404 (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
Return-Path: <christophera@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 01630C000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 31 Aug 2021 19:01:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id D98978100B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 31 Aug 2021 19:01:40 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.402
X-Spam-Level: 
X-Spam-Status: No, score=-1.402 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=no autolearn_force=no
Authentication-Results: smtp1.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key)
 header.d=lifewithalacrity-com.20150623.gappssmtp.com
Received: from smtp1.osuosl.org ([127.0.0.1])
 by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9OHs4OswopTQ
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 31 Aug 2021 19:01:36 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com
 [IPv6:2607:f8b0:4864:20::a32])
 by smtp1.osuosl.org (Postfix) with ESMTPS id 5B68280F4B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 31 Aug 2021 19:01:36 +0000 (UTC)
Received: by mail-vk1-xa32.google.com with SMTP id g34so150324vkd.11
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 31 Aug 2021 12:01:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=lifewithalacrity-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=d+cJn3jsXl1LPwTdm8h4Qskq5AwUWU03jCwUU4l1gio=;
 b=1CtcbsMHLfx0YBMn6/GryahQ286Nev2g+ekuOdu3/LGU9TqRDDx79RYDrQcrsxvPQj
 vHG2FgExfsEUtD0AfUdB0iXIIRIZbHC5sPV+ypgywMCjARDhTVZ9OrMfSxj5G2VTbMr9
 9ydBHEwEYNYPCbLZwTVni3rgs8HKkN4+Lq4aW58edIPUsYAWWH99f56m/tsDliICoCw6
 o1098/oNwQjHWOlIEHmVr/YG5dLCljS2V4bfLHit5ILJWUXsweJ335FBPUsEUO+JCcJI
 s4bNI/FG5kG6MDNRuzaaOcPhdmFqJGVH52P89MYSua1Zmz9AT8y19kkYY/E3k48lMWH1
 FI6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=d+cJn3jsXl1LPwTdm8h4Qskq5AwUWU03jCwUU4l1gio=;
 b=PVno5eUdIAyZ8nLX+NIvUqAjNfO8CyDVbDrnKAOlISF8HJbiOm2ijk3wcwE7srdyYy
 zVzi+CaamUFDsQ6z3Gden/lxPQHfIKRTk92/0gnq13tzfV6Jy+tSuR7aarZ1RRTxeAde
 Hf/gVAIyAUleVm2IwLH976Y0sBMLuS9MdsZQcjZjX8gY2hta56rNpYia9RjVJGQvd9Vr
 r+BISWcehOULQs2edeWq6niCCfwjJrqTg5jpHChX3JG3K9mpdlWBpA7K6glU9gAa0kUc
 /Ouo52vcoLbY0x7n0WklqDEsOr+2IMVnGZD9uO6NaydOI3SpBlHNLbYyn2lvD8E5uXmZ
 mCZA==
X-Gm-Message-State: AOAM533qaJ/2CPh8cbSojeRUZOnEtx75bUDyR3T3V5b9Axta537Snlks
 zNtBScq4BvBa4HbiLBxhp0CFBoNnq4VNVtXiCy2EQD7gEAk=
X-Google-Smtp-Source: ABdhPJykGODKCTpE7JQCQ6DkUgPI9EtvP6b2YYGsHBt+bJ5AI5ex1ocpsLwPZ0541UGMHHu/gX3/xKthohF0wIVXVhM=
X-Received: by 2002:a1f:3215:: with SMTP id y21mr19129930vky.13.1630436494732; 
 Tue, 31 Aug 2021 12:01:34 -0700 (PDT)
MIME-Version: 1.0
References: <mailman.9346.1630015566.1160.bitcoin-dev@lists.linuxfoundation.org>
 <20210831182741.GV91472@coinkite.com>
In-Reply-To: <20210831182741.GV91472@coinkite.com>
From: Christopher Allen <ChristopherA@lifewithalacrity.com>
Date: Tue, 31 Aug 2021 12:01:23 -0700
Message-ID: <CACrqygDZGWxrv+3w=gmwVRO4iTLYJnn8QLBEwNQ_EdkXNr46Ww@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>,
 Peter Gray <peter@coinkite.com>, 
 Shannon Appelcline <shannon.appelcline@gmail.com>,
 Wolf McNally <wolf@wolfmcnally.com>
Content-Type: multipart/alternative; boundary="00000000000018f1d205cadf9462"
X-Mailman-Approved-At: Tue, 31 Aug 2021 22:12:22 +0000
Subject: Re: [bitcoin-dev] Proposal for a few IANA mime-types related to
	Bitcoin
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
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, 31 Aug 2021 19:01:41 -0000

--00000000000018f1d205cadf9462
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Note that a number of wallet companies are now supporting the UR encoded
version of PSBTs, allowing for better QR & Airgap solutions, and also
leverage CBOR which is an IETF standard.

We have a community of Airgap wallet developers at
https://github.com/BlockchainCommons/Airgapped-Wallet-Community

=E2=80=A6and libraries at
https://github.com/BlockchainCommons/crypto-commons#urs

We=E2=80=99d love for you to register UR as well, maybe as bitcoin/psbt+ur

Can you bring this up in our community for further discussion?
https://github.com/BlockchainCommons/Airgapped-Wallet-Community/discussions

Thanks!

=E2=80=94 Christopher Allen [via iPhone]

On Tue, Aug 31, 2021 at 11:41 AM Peter D. Gray via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> Hi list!
>
> I am proposing to register the following MIME (RFC 2046) media types with
> the IANA:
>
>
> bitcoin/psbt
>
>     - aka. a BIP-174 file, in binary
>     - does not make any claims about signed/unsigned status; lets leave
> that to the file
>
> bitcoin/txn
>
>     - aka. wire-ready fully-signed transaction in binary
>
> bitcoin/uri
>
>     - aka [BIP-21](
> https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki)
>     - could be just a bare bech32 or base58 payment address
>     - but can also encode amount, comments in URL args
>     - potentially interesting as a response to 402 - Payment required
>
>
> Other thoughts
>
> - some mime-types are proposed in BIP-71 but those are unrelated to above=
,
> and never
>   seem to have been registered
>
> - for those who like to encode their binary as base64 or hex, that can be
> indicated
>   as "encoding=3Dhex" or "encoding=3Dbase64" in the optional parameters, =
just
> like
>   "text/plain; encoding=3Dutf-8" does. However, the default must be binar=
y.
>
> - although the above are useful for web servers, they are also useful
> elsewhere and I
>   intend to use them in NFC (NDEF records) where a shorter length is
> critical.
>
> - I have no idea how easily IANA will accept these proposals.
>
> - current approved mime types:
> https://www.iana.org/assignments/media-types/media-types.xhtml
>
> Thoughts?
>
> ---
> @DocHEX  ||  Coinkite  ||  PGP: A3A31BAD 5A2A5B10
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

--00000000000018f1d205cadf9462
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Note that a number of wallet companies are now supporting=
 the UR encoded version of PSBTs, allowing for better QR &amp; Airgap solut=
ions, and also leverage CBOR which is an IETF standard.</div><div dir=3D"au=
to"><br></div><div dir=3D"auto">We have a community of Airgap wallet develo=
pers at=C2=A0<div><a href=3D"https://github.com/BlockchainCommons/Airgapped=
-Wallet-Community">https://github.com/BlockchainCommons/Airgapped-Wallet-Co=
mmunity</a></div><div dir=3D"auto"><br></div><div dir=3D"auto">=E2=80=A6and=
 libraries at=C2=A0<div><a href=3D"https://github.com/BlockchainCommons/cry=
pto-commons#urs">https://github.com/BlockchainCommons/crypto-commons#urs</a=
></div><div dir=3D"auto"><br></div><div dir=3D"auto">We=E2=80=99d love for =
you to register UR as well, maybe as bitcoin/psbt+ur</div><div dir=3D"auto"=
><br></div><div dir=3D"auto">Can you bring this up in our community for fur=
ther discussion?=C2=A0<div><a href=3D"https://github.com/BlockchainCommons/=
Airgapped-Wallet-Community/discussions">https://github.com/BlockchainCommon=
s/Airgapped-Wallet-Community/discussions</a></div><div dir=3D"auto"><br></d=
iv><div dir=3D"auto">Thanks!</div></div></div></div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">=E2=80=94 Christopher Allen [via iPhone]=C2=A0</div>=
<div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
n Tue, Aug 31, 2021 at 11:41 AM Peter D. Gray via bitcoin-dev &lt;<a href=
=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfo=
undation.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid=
;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi list!<br>
<br>
I am proposing to register the following MIME (RFC 2046) media types with t=
he IANA:<br>
<br>
<br>
bitcoin/psbt<br>
<br>
=C2=A0 =C2=A0 - aka. a BIP-174 file, in binary<br>
=C2=A0 =C2=A0 - does not make any claims about signed/unsigned status; lets=
 leave that to the file<br>
<br>
bitcoin/txn<br>
<br>
=C2=A0 =C2=A0 - aka. wire-ready fully-signed transaction in binary<br>
<br>
bitcoin/uri<br>
<br>
=C2=A0 =C2=A0 - aka [BIP-21](<a href=3D"https://github.com/bitcoin/bips/blo=
b/master/bip-0021.mediawiki" rel=3D"noreferrer" target=3D"_blank">https://g=
ithub.com/bitcoin/bips/blob/master/bip-0021.mediawiki</a>)<br>
=C2=A0 =C2=A0 - could be just a bare bech32 or base58 payment address<br>
=C2=A0 =C2=A0 - but can also encode amount, comments in URL args<br>
=C2=A0 =C2=A0 - potentially interesting as a response to 402 - Payment requ=
ired<br>
<br>
<br>
Other thoughts<br>
<br>
- some mime-types are proposed in BIP-71 but those are unrelated to above, =
and never<br>
=C2=A0 seem to have been registered<br>
<br>
- for those who like to encode their binary as base64 or hex, that can be i=
ndicated<br>
=C2=A0 as &quot;encoding=3Dhex&quot; or &quot;encoding=3Dbase64&quot; in th=
e optional parameters, just like<br>
=C2=A0 &quot;text/plain; encoding=3Dutf-8&quot; does. However, the default =
must be binary.<br>
<br>
- although the above are useful for web servers, they are also useful elsew=
here and I<br>
=C2=A0 intend to use them in NFC (NDEF records) where a shorter length is c=
ritical.<br>
<br>
- I have no idea how easily IANA will accept these proposals.<br>
<br>
- current approved mime types: <a href=3D"https://www.iana.org/assignments/=
media-types/media-types.xhtml" rel=3D"noreferrer" target=3D"_blank">https:/=
/www.iana.org/assignments/media-types/media-types.xhtml</a><br>
<br>
Thoughts?<br>
<br>
---<br>
@DocHEX=C2=A0 ||=C2=A0 Coinkite=C2=A0 ||=C2=A0 PGP: A3A31BAD 5A2A5B10<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div></div>

--00000000000018f1d205cadf9462--