147 Commits

Author SHA1 Message Date
Will
36789e0856
update murmur3 length / family to match current uses (#236) 2021-10-15 13:32:54 +11:00
Eric Myhre
bd148ac6d7 Add missing variations of sha2
Per discussion in https://github.com/multiformats/multicodec/issues/205 ,
and further discussion of the numbers,
in https://github.com/multiformats/multicodec/pull/206 .

Most of the variants are shifted into larger number ranges.
2021-09-30 11:27:01 +02:00
Charles E. Lehner
40de506871
Use RSAPublicKey in 0x1205 (#233) 2021-09-30 16:15:33 +10:00
Brendan O'Brien
125a4ab36d
clarify rsa-x509-pub encoding format (#231) 2021-09-28 15:17:33 +10:00
Marten Seemann
4865ac005e add an insecure codepoint 2021-09-19 17:08:10 +01:00
Brooklyn Zelenka
1d46d7f65e
Add AES & ChaCha keys (#228) 2021-09-06 11:11:50 +10:00
Masih H. Derkani
1bcdc08389 Add CARv2 MultihashIndexSorted codec
Define a new codec for CARv2 `MultihashIndexSorted`.

See:
- https://github.com/ipld/go-car/pull/217
- https://github.com/ipld/go-car/issues/214
2021-09-02 11:51:36 +01:00
Brooklyn Zelenka
d20ee7a7b6
Add RSA public key (#226) 2021-09-02 13:13:23 +10:00
Mitrasish Mukherjee
9493726a9f
Add arweave-ns entry (#225) 2021-08-27 08:38:30 +10:00
John Ericson
3896ef70bd Add SoftWare Heritage persistent IDentifier snapshots
See
https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html
for the technical details of that spec.

Software Heritage has done a superb job promoting content addressing in
general, and their identifier scheme (SWHIDs, for short) in particular.
By supporting them in CIDs / IPLD, I hope the IPFS ecosystem can align
itself with that effort.

Per the linked documentation, SWHIDs have their own nested grammar and
versioning scheme. I begun by taking the version 1 core identifier
grammar, unrolled it, and replaced `:` with `-` per the guidelines on
separators, with the result being these 5 rows.

There is overlap between the remaining for and git-raw, so this just
adds SWHID snapshots for now.
2021-08-20 18:03:22 -04:00
Ian Norden
22da894a5a
log and log trie multicodec types (#223)
Add eth-receipt-logand eth-receipt-log-trie types

Also:
* Clarify ETH "block" terminology, as it is actually only the header that is hash referenced by "block" hash and the header in turn contains all the roots to the tx, rct, state (and thereby storage) tries.
* Changed "RLP" to MarshalBinary in the description for tx and rct, because after EIP-2718 tx envelopers were introduced the consensus encoding of a tx or rct is only the pure RLP encoding for the legacy types.
2021-08-19 14:26:18 +10:00
Marten Seemann
01695ca8ce
add a Noise codepoint 2021-07-01 15:12:33 -07:00
Rod Vagg
68fad7ed26
Add CARv2 IndexSorted (#220)
Ref: https://github.com/ipld/ipld/pull/107
2021-06-26 11:01:00 +10:00
Manu Sporny
e41d207a87
Add Curve25519 private key. (#219) 2021-06-21 13:44:29 +10:00
Pedro Gomes
9e12eae499
Add CAIP-50 to multicodec table (#218) 2021-06-17 13:23:31 +10:00
vyzo
d535cbe5b9
add libp2p-relay-rsvp codec (#216)
* add libp2p-relay-rsvp codec

* add comma

Co-authored-by: Rod Vagg <rod@vagg.org>
2021-06-17 13:22:14 +10:00
Joel Thorstensson
ce070dd06d
Clarify public key encodings (#214)
The affected curves can be represented in both a compressed and an uncompressed format. This clarifies that the compressed format should be used.
2021-05-25 10:59:52 +10:00
Rod Vagg
325a006369
Check codes are ascending with validation script (#212)
Ref: https://github.com/multiformats/multicodec/pull/210
2021-05-12 21:18:43 +10:00
Orie Steele
5d444039bb
Add secp256k1 private key (#210) 2021-05-12 09:43:25 +10:00
Rod Vagg
378abb62f2
Check column padding with validation script 2021-05-11 14:35:23 +10:00
Joel Thorstensson
34df44790f Rename Ceramic docid to streamid 2021-04-30 11:04:53 +02:00
Steven Allen
4a6afe239c update codec status 2021-04-21 12:32:32 -07:00
Steven Allen
6d3a4d4222 fix status of several codes 2021-04-14 11:37:05 -07:00
Steven Allen
9650123690 mark permanent 2021-04-13 10:46:39 -07:00
Steven Allen
c237d10717 WIP: mark everything as draft
TODO:
* update CI
* Mark stable codecs.
2021-04-13 10:21:26 -07:00
Carson Farmer
909e183da6
Adds Textile Thread multiaddr (#201)
The thread protocol is now sufficiently well-recognized enough to warrant inclusion
2021-01-19 15:32:48 +11:00
Peter-Jan Brone
d4b3853030
Add Skynet namespace codec (#198) 2020-12-10 08:55:34 +11:00
Joel Thorstensson
c869c9319b
Add Ceramic Document Id (#189) 2020-09-18 13:06:21 +02:00
Tobias Looker
58a305d0a8
feat: add bls g1 and g2 public key concatenated identifier (#185) 2020-09-17 12:10:25 +02:00
pukkamustard
28f7ad5fbe
Add ed25519 private key codec (#194) 2020-09-11 15:54:16 +10:00
Tomáš Mládek
cb1c349bc8
add / reserve KangarooTwelve in table.csv (#192) 2020-09-04 14:31:57 +10:00
Orie Steele
ad0c435aa8
feat: add jose and cose key curves 2020-08-21 14:38:25 +10:00
Joel Thorstensson
fd02568a20
Reserve CIDv2 and CIDv3 2020-08-10 09:04:00 +02:00
Joel Thorstensson
774164e5f3
Define CIDv1 as a mutlicodec 2020-08-07 13:58:18 +02:00
Rod Vagg
f07e41eaf7
Naming restrictions (doc & validate), rename 0xcert to be code-friendly
Fixes: https://github.com/multiformats/multicodec/issues/181
Ref: https://github.com/multiformats/multicodec/pull/177
2020-07-20 14:04:37 +10:00
William Entriken
049f35df2f
Add 0xcert asset imprints 2020-05-26 21:58:25 -04:00
Rod Vagg
31aa3ed198 Add Bitcoin Witness Commitment (0xb2) 2020-05-26 14:53:47 +10:00
Michael Vandeberg
840ffc16ef
Add ripemd definitions (#175)
Update table.csv with ripemd definitions
2020-05-20 12:40:31 +02:00
Rod Vagg
bf5c4806e7 add filecoin commitment merkle root codecs
These describe roots & nodes of a merkle tree, not the underlying
data. In the case of CommP and CommD they are binary merkle trees
using sha2-256-trunc2. For CommR they are novel structure merkle
trees using poseidon-bls12_381-a2-fc1.

All nodes of the respective merkle trees could also be described
using this codec if required, all the way to base data. It is
anticipated that the primary use will be restricted to the roots.

Ref: https://github.com/multiformats/multicodec/pull/161
Closes: #161
Closes: #167
2020-05-12 16:16:46 +10:00
Rod Vagg
38ef2a3373 Add two Poseidon Filecoin variant multihashes
Reserving the 0xb400 range for Poseidon variants, allowing FIL to
iterate on the `fcX` extension of the name where they stay with
BLS12-381 and arity=2. High security variant is for extra circuits
that are usable in case new attacks arise from the standard variant.

Ref: https://github.com/multiformats/multicodec/pull/161
Ref: https://eprint.iacr.org/2019/458.pdf
2020-05-12 16:05:50 +10:00
Rod Vagg
0aa8f5d132 add sha2-256-trunc2 multihash: 0x1012
SHA2-256 with the trailing 2 bits zeroed out. Primary current use is
Filecoin.

Ref: https://github.com/multiformats/multicodec/pull/161
2020-05-12 16:04:25 +10:00
Tobias
5d3a023767 feat: add bls12-381 public keys 2020-05-12 16:00:04 +10:00
Joel Thorstensson
4422c4d685 Update code 2020-04-20 16:46:11 +02:00
Joel Thorstensson
67156283e1 Add dag-jose, -cose
See discussion here: https://github.com/ipld/specs/issues/251
2020-04-20 16:46:11 +02:00
Dmitri Zagidulin
2497c44928
Update table.csv (fix order of x25519-pub entry).
Co-Authored-By: Dave Longley <dlongley@digitalbazaar.com>
2020-03-09 11:28:11 -04:00
Dmitri Zagidulin
dfa6b42776 Add X25519 (Curve25519) pub key support 2020-03-09 11:18:09 -04:00
Oliver Terbu
8302a5fad5 added secp256k1-pub entry 2020-02-04 00:06:46 +01:00
Raúl Kripalani
06a69e5073
add 0x0301: libp2p-peer-record mapping. (#157) 2020-01-31 18:25:32 +00:00
Steven Allen
713350946b
switch blake3 to a 1 byte code
It's likely secure and people are also likely to use it in content addresses where size really matters.
2020-01-27 18:28:12 -08:00
Steven Allen
8b8161834b
table: update blake3
* Renamed from blake3-256 to blake3. We only need a single code because shorter hashes are just prefixes of longer hashes.
* Changed the code to 0x0202. This will turn into a two byte code, the previous code was 3 bytes when encoded. The other blake algorithms are in the 3 byte range because we needed _many_ codes.
2020-01-27 17:53:46 -08:00