34 Commits

Author SHA1 Message Date
Thomas Eizinger
d2106f43e8 feat(keys): add test vectors for protobuf encoding (#537)
Co-authored-by: Max Inden <mail@max-inden.de>
2023-08-01 15:16:13 +02:00
Marcin Rataj
6b3d2630bb chore: fix outdated links (#447) 2022-09-09 23:25:50 -07:00
Aleksei
f433ad5952 Delete the outdated link in peer-ids.md (#393)
* Fixing the typo in peer-ids.md

* Delete the link
2022-02-13 23:23:40 -08:00
Takashi Matsuda
126fb60dd6 peer-ids/: Fix typo (#332) 2021-06-07 09:08:49 +02:00
raulk
458320f95d update revision to r2. 2021-04-30 18:37:59 +01:00
Steven Allen
c3d5c95634 feat: drop RSA to SHOULD
While its important for interop with IPFS, it's not really a
_requirement_ for libp2p. This makes Ed25519 the "standard".
2021-04-21 14:36:48 -07:00
Steven Allen
d4321b94b5 peer-ids: fix typos
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-20 06:34:08 -08:00
Steven Allen
44ba63e46f refactor the peer ID spec
* I reorganized it to put all the key encoding logic together (instead of
  sticking the peer ID stuff in the middle).
* Described how the protobufs must should be deterministically encoded.
* Fixed some misconceptions around CIDv0 versus CIDv1. Qm... peer IDs are not
  CIDv0, they're just bare multihashes.
* Instructed users to continue encoding peer IDs as bare multihashes by default
  for now. Not all implementations support decoding CID peer IDs.
2020-01-19 09:45:55 -08:00
Jay Petacat
5a4b0b6bc9 Fix link to crypto.proto file (#224) 2019-10-28 14:43:57 +01:00
Marcin Rataj
b621ac506a peer-ids.md: be explicit about supporting CID v0&v1
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-09-30 15:32:41 +02:00
Marcin Rataj
4e2c796bc7 Apply review changes
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-09-02 16:59:13 +02:00
Marcin Rataj
8ab79d2470 RFC 0001: text Peer Id as CID
This is an RFC to modify peerid spec to alter the default string
representation from Multihash to CIDv1 in Base32 and to support
encoding/decoding text peerids as CIDs.

It is also the first RFC ever, following suggestions from
https://github.com/libp2p/specs/issues/198
and creating a template for future RFCs as a side-effect.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-08-28 13:39:05 +02:00
Yusef Napora
2ec086771d use shortcut reference links for authors in header 2019-05-27 11:36:55 -04:00
Yusef Napora
6c4a587937 update status header 2019-05-23 12:08:08 -04:00
Yusef Napora
10043ecc09 fix TOC 2019-05-22 15:26:39 -04:00
Yusef Napora
d14a44d532 update status & generate TOC 2019-05-22 14:08:21 -04:00
Yusef Napora
870b71ac04 revise note about deterministic encoding 2019-05-22 14:03:38 -04:00
Yusef Napora
1237100ee0 add note about deterministic encoding of PublicKey protobuf 2019-05-08 15:12:14 -04:00
Yusef Napora
a7de2f63c7 tweak the description of peer id generation
Adds "encode to byte array according to rules below" as first step,
and makes explicit that we only use the public part of the keypair.
2019-05-08 15:10:45 -04:00
Yusef Napora
9bfb3704ce mention we're not using multibase for peer-ids 2019-05-08 15:03:10 -04:00
Yusef Napora
046c7e8827 soon has come :) 2019-05-08 15:02:40 -04:00
Yusef Napora
f277f4124d note that we're using proto2 2019-05-08 15:02:01 -04:00
Raúl Kripalani
3302991590 peer id: implementations may configure key types 2019-03-27 12:11:44 +00:00
Yusef Napora
52057ac433 base key types MUST be supported 2019-03-19 13:26:52 -04:00
Yusef Napora
242afbe408 bring back private keys, add context about serialization 2019-03-19 13:26:52 -04:00
Raúl Kripalani
eda2295e13 peer ids: language nit
Co-Authored-By: Stebalien <steven@stebalien.com>
2019-03-15 10:42:34 -07:00
Yusef Napora
878f2fa7e8 remove links to go impl, add links to specs 2019-03-14 14:25:22 -04:00
Yusef Napora
6c318c930f remove references to private keys & storage formats 2019-03-14 14:24:54 -04:00
Mike Goelzer
e2dfbe2207 clarify 42 byte rule 2018-10-12 12:28:51 +01:00
Mike Goelzer
d8459bcade Key types should/may 2018-10-11 23:18:55 +01:00
Mike Goelzer
95c23543c4 docs: syntax highlighting 2018-10-10 17:44:08 +01:00
Mike Goelzer
902fbfe73c docs: fix @vyzo comment 2018-10-10 17:40:41 +01:00
Mike Goelzer
565767a75f docs: clean up writing 2018-10-10 17:18:18 +01:00
Mike Goelzer
714a6c753a docs: add peer id spec 2018-10-10 17:07:40 +01:00