You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a Rust structure that can be used to communicate the existence of a peer. This structure must (de)serialize as it will be used as the value of the Recon peers ring.
DOD
The Rust structure exists that implements serde traits
The structure contains the following information:
did:key of local peer
expiration time
list of multiaddrs on which the peer can be contacted
This structure should have methods to sign it and produce a compact string encoded JWS (ala data.data.data)
This structure should have methods to be constructed from a string encoded JWS that verifies its signature.
Unit tests for the construction serialization and signing/verification of the struct
The text was updated successfully, but these errors were encountered:
* feat: add peer entry and peer key structs
These structures allow for communicating information about Peers and
their addresses. The structs can be signed as JWS and verified.
Fixes: #603
* fix: rebase fix test
* fix: use split_once
Description
We need a Rust structure that can be used to communicate the existence of a peer. This structure must (de)serialize as it will be used as the value of the Recon peers ring.
DOD
The text was updated successfully, but these errors were encountered: