Skip to content

Commit 93f57c3

Browse files
committed
deploy: c210fa9
1 parent 80d42e9 commit 93f57c3

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

22/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1116,11 +1116,11 @@ <h1 id="nut-22-blind-authentication">NUT-22: Blind Authentication<a class="heade
11161116
<p><code>depends on: NUT-21</code></p>
11171117
<hr />
11181118
<p>This NUT defines a blind authentication scheme that allows mint operators to limit the use of their mint to a set of authorized users while still providing privacy within that anonymity set.</p>
1119-
<p>We use two authentication schemes in conjunction: <em>clear authentication</em> using an external OpenID Connect / OAuth 2.0 service (described in <a href="../21/">NUT-21</a>), and <em>blind authentication</em> with the mint to access its resources. A user's wallet first needs to obtain a clear authentication token (CAT) from an OpenID Connect authority that the mint selected, which is not subject of this specification. Once the user has obtained the CAT from the OpenID Connect service, they can use it to obtain multiple blind authentication tokens (BAT) from the mint. We describe this process in this document.</p>
1119+
<p>We use two authentication schemes in conjunction: <em>clear authentication</em> using an external OpenID Connect / OAuth 2.0 service (described in <a href="../21/">NUT-21</a>), and <em>blind authentication</em> with the mint to access its resources. A user's wallet first needs to obtain a clear authentication token (CAT) from an OpenID Connect authority that the mint selected, which is not the subject of this specification. Once the user has obtained the CAT from the OpenID Connect service, they can use it to obtain multiple blind authentication tokens (BAT) from the mint. We describe this process in this document.</p>
11201120
<p>Blind authentication tokens (BATs) are used to access the protected endpoints of the mint and make sure that only users that previously presented a valid CAT can access the mint's features such as minting, melting, or swapping ecash. Wallets provide a BAT in the request header when making a request to one of the mint's protected endpoints. The mint parses the header for a BAT, verifies the signature (like with normal ecash as described in <a href="../00/">NUT-00</a>), checks if the token has previously been spent, and if not, adds it to its spent BAT token database.</p>
11211121
<h2 id="blind-authentication-tokens-are-ecash">Blind authentication tokens are ecash<a class="headerlink" href="#blind-authentication-tokens-are-ecash" title="Permanent link">&para;</a></h2>
11221122
<p>Blind authentication tokens (BATs) are essentially the same as normal ecash tokens and are minted in the same way. They are signed with a special keyset of the mint that has the unit <code>auth</code> and a single amount <code>1</code>.</p>
1123-
<p>BATs can only be used a single time for each request that the wallet makes to the mint's protected endpoints. After each for each successful request, the BAT is added to the mint's spent token list after which they are regarded as spent. The BAT is not marked as spent if the request results in an error.</p>
1123+
<p>BATs can only be used a single time for each request that the wallet makes to the mint's protected endpoints. For each successful request, the BAT is added to the mint's spent token list after which they are regarded as spent. The BAT is not marked as spent if the request results in an error.</p>
11241124
<p>To summarize:</p>
11251125
<ul>
11261126
<li>Wallet connects to mint and user is prompted to register or log in with an OAuth 2.0 service</li>

search/search_index.json

+1-1
Large diffs are not rendered by default.

sitemap.xml

+35-35
Original file line numberDiff line numberDiff line change
@@ -2,142 +2,142 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://cashubtc.github.io/nuts/</loc>
5-
<lastmod>2025-03-05</lastmod>
5+
<lastmod>2025-03-06</lastmod>
66
</url>
77
<url>
88
<loc>https://cashubtc.github.io/nuts/00/</loc>
9-
<lastmod>2025-03-05</lastmod>
9+
<lastmod>2025-03-06</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://cashubtc.github.io/nuts/01/</loc>
13-
<lastmod>2025-03-05</lastmod>
13+
<lastmod>2025-03-06</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://cashubtc.github.io/nuts/02/</loc>
17-
<lastmod>2025-03-05</lastmod>
17+
<lastmod>2025-03-06</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://cashubtc.github.io/nuts/03/</loc>
21-
<lastmod>2025-03-05</lastmod>
21+
<lastmod>2025-03-06</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://cashubtc.github.io/nuts/04/</loc>
25-
<lastmod>2025-03-05</lastmod>
25+
<lastmod>2025-03-06</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://cashubtc.github.io/nuts/05/</loc>
29-
<lastmod>2025-03-05</lastmod>
29+
<lastmod>2025-03-06</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://cashubtc.github.io/nuts/06/</loc>
33-
<lastmod>2025-03-05</lastmod>
33+
<lastmod>2025-03-06</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://cashubtc.github.io/nuts/07/</loc>
37-
<lastmod>2025-03-05</lastmod>
37+
<lastmod>2025-03-06</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://cashubtc.github.io/nuts/08/</loc>
41-
<lastmod>2025-03-05</lastmod>
41+
<lastmod>2025-03-06</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://cashubtc.github.io/nuts/09/</loc>
45-
<lastmod>2025-03-05</lastmod>
45+
<lastmod>2025-03-06</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://cashubtc.github.io/nuts/10/</loc>
49-
<lastmod>2025-03-05</lastmod>
49+
<lastmod>2025-03-06</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://cashubtc.github.io/nuts/11/</loc>
53-
<lastmod>2025-03-05</lastmod>
53+
<lastmod>2025-03-06</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://cashubtc.github.io/nuts/12/</loc>
57-
<lastmod>2025-03-05</lastmod>
57+
<lastmod>2025-03-06</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://cashubtc.github.io/nuts/13/</loc>
61-
<lastmod>2025-03-05</lastmod>
61+
<lastmod>2025-03-06</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://cashubtc.github.io/nuts/14/</loc>
65-
<lastmod>2025-03-05</lastmod>
65+
<lastmod>2025-03-06</lastmod>
6666
</url>
6767
<url>
6868
<loc>https://cashubtc.github.io/nuts/15/</loc>
69-
<lastmod>2025-03-05</lastmod>
69+
<lastmod>2025-03-06</lastmod>
7070
</url>
7171
<url>
7272
<loc>https://cashubtc.github.io/nuts/16/</loc>
73-
<lastmod>2025-03-05</lastmod>
73+
<lastmod>2025-03-06</lastmod>
7474
</url>
7575
<url>
7676
<loc>https://cashubtc.github.io/nuts/17/</loc>
77-
<lastmod>2025-03-05</lastmod>
77+
<lastmod>2025-03-06</lastmod>
7878
</url>
7979
<url>
8080
<loc>https://cashubtc.github.io/nuts/18/</loc>
81-
<lastmod>2025-03-05</lastmod>
81+
<lastmod>2025-03-06</lastmod>
8282
</url>
8383
<url>
8484
<loc>https://cashubtc.github.io/nuts/19/</loc>
85-
<lastmod>2025-03-05</lastmod>
85+
<lastmod>2025-03-06</lastmod>
8686
</url>
8787
<url>
8888
<loc>https://cashubtc.github.io/nuts/20/</loc>
89-
<lastmod>2025-03-05</lastmod>
89+
<lastmod>2025-03-06</lastmod>
9090
</url>
9191
<url>
9292
<loc>https://cashubtc.github.io/nuts/21/</loc>
93-
<lastmod>2025-03-05</lastmod>
93+
<lastmod>2025-03-06</lastmod>
9494
</url>
9595
<url>
9696
<loc>https://cashubtc.github.io/nuts/22/</loc>
97-
<lastmod>2025-03-05</lastmod>
97+
<lastmod>2025-03-06</lastmod>
9898
</url>
9999
<url>
100100
<loc>https://cashubtc.github.io/nuts/error_codes/</loc>
101-
<lastmod>2025-03-05</lastmod>
101+
<lastmod>2025-03-06</lastmod>
102102
</url>
103103
<url>
104104
<loc>https://cashubtc.github.io/nuts/suppl/</loc>
105-
<lastmod>2025-03-05</lastmod>
105+
<lastmod>2025-03-06</lastmod>
106106
</url>
107107
<url>
108108
<loc>https://cashubtc.github.io/nuts/suppl/21/</loc>
109-
<lastmod>2025-03-05</lastmod>
109+
<lastmod>2025-03-06</lastmod>
110110
</url>
111111
<url>
112112
<loc>https://cashubtc.github.io/nuts/tests/</loc>
113-
<lastmod>2025-03-05</lastmod>
113+
<lastmod>2025-03-06</lastmod>
114114
</url>
115115
<url>
116116
<loc>https://cashubtc.github.io/nuts/tests/00-tests/</loc>
117-
<lastmod>2025-03-05</lastmod>
117+
<lastmod>2025-03-06</lastmod>
118118
</url>
119119
<url>
120120
<loc>https://cashubtc.github.io/nuts/tests/01-tests/</loc>
121-
<lastmod>2025-03-05</lastmod>
121+
<lastmod>2025-03-06</lastmod>
122122
</url>
123123
<url>
124124
<loc>https://cashubtc.github.io/nuts/tests/02-tests/</loc>
125-
<lastmod>2025-03-05</lastmod>
125+
<lastmod>2025-03-06</lastmod>
126126
</url>
127127
<url>
128128
<loc>https://cashubtc.github.io/nuts/tests/11-test/</loc>
129-
<lastmod>2025-03-05</lastmod>
129+
<lastmod>2025-03-06</lastmod>
130130
</url>
131131
<url>
132132
<loc>https://cashubtc.github.io/nuts/tests/12-tests/</loc>
133-
<lastmod>2025-03-05</lastmod>
133+
<lastmod>2025-03-06</lastmod>
134134
</url>
135135
<url>
136136
<loc>https://cashubtc.github.io/nuts/tests/13-tests/</loc>
137-
<lastmod>2025-03-05</lastmod>
137+
<lastmod>2025-03-06</lastmod>
138138
</url>
139139
<url>
140140
<loc>https://cashubtc.github.io/nuts/tests/20-test/</loc>
141-
<lastmod>2025-03-05</lastmod>
141+
<lastmod>2025-03-06</lastmod>
142142
</url>
143143
</urlset>

sitemap.xml.gz

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)