201 Commits

Author SHA1 Message Date
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
Steven Allen
bb0f8b2bb9
Merge pull request #144 from dmitrizagidulin/x25519-pub
Add X25519 (Curve25519) pub key support
2020-03-09 11:03:11 -07: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
Steven Allen
e6e7b7a051
Merge pull request #160 from awoie/secp256k1-pub
add support for secp256k1-pub
2020-03-05 10:27:37 -08: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
18e8a24af9
Merge pull request #154 from nvzqz/add-blake3
Add entry for BLAKE3 with 256-bit output (default)
2020-01-28 09:24:08 -08: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
Nikolai Vazquez
b176bbeae7 Add entry for BLAKE3 with 256-bit output (default)
BLAKE3 is a fast cryptographic hash function. It is only one algorithm
with no variants. See https://github.com/BLAKE3-team/BLAKE3 for details.
2020-01-26 02:35:45 -05:00
Steven Allen
32c52e340e
Merge pull request #152 from studyzy/master
add gm sm3-256 multihash to table
2019-12-17 18:52:51 +01:00
studyzy
0616142bce add gm sm3-256 multihash to table 2019-12-13 16:02:10 +08:00
Volker Mische
aa370d6bb2 Make README reflect what multicodec currently is used for
Multicodec changed over time what it actually is. The README should reflect
the current state on how it is used.

Closes #133.
2019-10-29 12:01:03 +01:00
Steven Allen
545181e803
Merge pull request #145 from multiformats/feat/tls
add a TLS multicodec
2019-08-12 08:02:36 -07:00
Steven Allen
8dd1bfb9a9 add a TLS multicodec 2019-08-07 12:38:35 -07:00
Steven Allen
ba906993c2
Merge pull request #140 from filips123/zeronet-support
Add ZeroNet site address
2019-07-28 16:02:45 -07:00
Filip Š
f63573a5e4
Change ZeroNet prefix to 0xe6 2019-07-28 22:39:59 +02:00
Filip Š
7fb3c13810
Merge branch 'master' into zeronet-support 2019-07-28 21:53:01 +02:00
Filip Š
2db1aa0f55
Update ZeroNet to namespace type and reorder it 2019-07-26 23:19:25 +02:00
Steven Allen
dac00691c9
Merge pull request #123 from Kenadia/messagepack
Add MessagePack serialization format.
2019-07-24 18:03:02 -07:00
Kenneth Schiller
14dabd507b
Merge branch 'master' into messagepack 2019-07-24 17:45:25 -07:00
Steven Allen
c59a75cabc
Merge pull request #141 from Kenadia/patch-2
Add JSON
2019-07-24 15:15:21 -07:00
Kenneth Schiller
92eb0c5f03
Fix order 2019-07-24 15:05:08 -07:00
Kenneth Schiller
0de0bbb7d2
Merge branch 'master' into messagepack 2019-07-24 15:04:24 -07:00
Kenneth Schiller
1c023376c2
Add JSON 2019-07-24 15:02:44 -07:00
Kenneth Schiller
6b91f70c8f
Update table.csv 2019-07-24 14:58:25 -07:00
Filip Š
c404851bb2 Add ZeroNet site address 2019-07-23 11:13:56 +02:00
Steven Allen
e7c6ef591d
Merge pull request #136 from mcdee/ipns
Add IPNS namespace
2019-07-03 16:06:18 -07:00
Steven Allen
a81134543b
Merge branch 'master' into ipns 2019-07-03 16:05:22 -07:00
Derk-Jan Karrenbeld
413015461e Add Ruby implementation 2019-06-24 12:36:00 +02:00
Kenneth Schiller
6eb8e9a3c1
Merge branch 'master' into messagepack 2019-06-19 13:28:27 -07:00
Jim McDonald
d018e29a93 Add IPNS namespace 2019-06-09 09:49:57 +01:00
Steven Allen
11de049dab
Merge pull request #131 from multiformats/feat/libp2p-pubkey
multicodec: add IPLD codec for libp2p public keys
2019-05-27 10:08:08 -07:00
Steven Allen
7b1f04ed63 multicodec: add IPLD codec for libp2p public keys
This is specifically for the protobuf-encoded libp2p key format:

```proto
enum KeyType {
	RSA = 0;
	Ed25519 = 1;
	Secp256k1 = 2;
	ECDSA = 3;
}

message PublicKey {
	required KeyType Type = 1;
	required bytes Data = 2;
}
```
2019-05-13 14:41:28 -07:00
Lars Gierth
04bdc2d5e9
Merge pull request #128 from nichtich/master
Normalize hexadecimal syntax of codes
2019-04-22 00:43:00 +02:00
Jakob Voss
e2df1de141 Normalize hexadecimal syntax of codes 2019-04-21 23:05:19 +02:00
Steven Allen
019376e4eb
Merge pull request #126 from RTradeLtd/master
Add garlic32, describe garlic addresses
2019-04-05 14:47:50 -07:00
idk
26ad9ab722 Briefly describe other type of b32 2019-04-05 17:12:15 -04:00
idk
2391af9de8 Further describe i2p addresses 2019-04-05 16:40:20 -04:00
idk
175ad7cf5a update fork and add base32 2019-04-05 16:19:06 -04:00
Kenneth Schiller
d6467e120d
Add MessagePack serialization format. 2019-03-25 17:13:19 -07:00
Lars Gierth
ee69bc061a
Merge pull request #93 from multiformats/feat/reserve-slash
reserve 0x2f (ASCII /) as the *path* multicodec
2019-03-18 17:50:14 +01:00
Steven Allen
56b1f8ff55 reserve 0x2f (ASCII /) as the *path* multicodec
That way, we can always tell if something is a path or something else.

We may also be able to take advantage of this later to combine a few
concepts and get rid of the "multiaddrs look like paths but are totally not"
problem. However, we can think about that later. This PR just reserves the code
so we don't run into problems later.

* Remove the distinction between string/binary multiaddrs. Instead, the "string"
  will *also* be a valid binary multiaddr.
* Define a new multipath spec to combine multiaddrs and other paths.

Related to: https://github.com/multiformats/multiaddr/issues/70
2019-03-18 09:47:06 -07:00
Steven Allen
b2aa250197
Merge pull request #120 from justelad/master
Add Swarm multicodecs
2019-03-11 21:55:44 -07:00
Elad
35cfe58432 change swarm multicodecs to ipld, add bmt 2019-03-06 13:22:08 +07:00
Elad Nachmias
84c0944192 add swarm manifests and feeds 2019-02-20 21:18:52 +07:00
Steven Allen
942b8875da chore: reformat table (#119)
* reformat table

Sort the table by code and replace the sections with tags.

Inspired by https://github.com/multiformats/multicodec/pull/116 but rebased on
master.

This version also puts the description last as it's optional.

* align table
2019-02-13 16:34:21 +01:00
Steven Allen
1c8ef851d3
Merge pull request #111 from holochain/feature-holochain-address
Add several varint prefix codes + lenghts for Holochain IDs
2019-02-11 17:54:07 -08:00