Skip to content

Commit e2d733d

Browse files
authored
Merge pull request #2 from alanshaw/patch-1
Add requirement to sort tokens
2 parents dafdb5e + d9858a2 commit e2d733d

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.clabot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"contributors": [
33
"expede",
4-
"MichaelMure"
4+
"MichaelMure",
5+
"alanshaw"
56
]
67
}

Notices.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Specification version: 0.0.0 or later
3030

3131
---------------------------------------------------------------------------------
3232

33+
Licensee’s name: Alan Shaw
34+
35+
Authorized individual and system identifier: alanshaw
36+
37+
Specification version: 0.0.0 or later
38+
39+
---------------------------------------------------------------------------------
40+
3341
## Withdrawals
3442

3543
Name of party withdrawing:

Readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The UCAN spec itself is transport agnostic. This specification describes how to
2727

2828
UCAN tokens, regardless of their kind ([Delegation], [Invocation], [Revocation], [Promise]) MUST be first signed and serialized into DAG-CBOR bytes according to their respective specification. As the token's CID is not part of the serialized container, any CID returned by this operation is to be ignored.
2929

30-
All the tokens' bytes MUST be assembled in a [CBOR] array. The ordering of tokens in the array MUST NOT matter. This array SHOULD NOT have duplicate entries.
30+
All the tokens' bytes MUST be assembled in a [CBOR] array. The ordering of tokens in the array MUST NOT matter. This array SHOULD NOT have duplicate entries and MUST be ordered bytewise to ensure a deterministic encoding.
3131

3232
That array is then inserted as the value under the `ctn-v1` string key, in a CBOR map. There MUST NOT be other keys.
3333

@@ -87,22 +87,21 @@ While it is tempting to write a single implementation to read and write a contai
8787

8888
# 5 Acknowledgments
8989

90-
Many thanks to all the [Fission] team and in particular to [Brooklyn Zelenka] for creating and pushing [UCAN] and other critical pieces like [WNFS], and generally being awesome and supportive people.
90+
Many thanks to all the Fission team and in particular to [Brooklyn Zelenka] for creating and pushing [UCAN] and other critical pieces like [WNFS], and generally being awesome and supportive people.
9191

9292
<!-- External Links -->
9393

9494
[BCP 14]: https://www.rfc-editor.org/info/bcp14
9595
[Brooklyn Zelenka]: https://github.com/expede
9696
[CBOR]: https://www.rfc-editor.org/rfc/rfc8949.html
9797
[Consensys]: https://consensys.io/
98-
[Delegation]: https://github.com/ucan-wg/delegation/tree/v1_ipld
99-
[Fission]: https://fission.codes
98+
[Delegation]: https://github.com/ucan-wg/delegation
10099
[GZIP]: https://datatracker.ietf.org/doc/html/rfc1952
101100
[Hugo Dias]: https://github.com/hugomrdias
102101
[Invocation]: https://github.com/ucan-wg/invocation
103102
[Michael Muré]: https://github.com/MichaelMure/
104103
[Promise]: https://github.com/ucan-wg/promise/tree/v1-rc1
105-
[Revocation]: https://github.com/ucan-wg/revocation/tree/first-draft
104+
[Revocation]: https://github.com/ucan-wg/revocation
106105
[UCAN]: https://github.com/ucan-wg/spec
107106
[WNFS]: https://github.com/wnfs-wg
108107
[cache poisoning]: https://en.wikipedia.org/wiki/Cache_poisoning

0 commit comments

Comments
 (0)