Skip to content

Commit

Permalink
identify: ASCII-only version strings
Browse files Browse the repository at this point in the history
Specify length limit to unify version string handling across implementations.

License: MIT
Signed-off-by: Marcin Rataj <[email protected]>
  • Loading branch information
lidel committed Dec 6, 2022
1 parent cfcf023 commit 7142a33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions identify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,18 @@ protocol families / networks.

Example value: `/my-network/0.1.0`.

Implementations should discard non-ASCII characters and trim the string
to 64 characters.

### agentVersion

This is a free-form string, identifying the implementation of the peer.
The usual format is `agent-name/version`, where `agent-name` is
the name of the program or library and `version` is its semantic version.

Implementations should discard non-ASCII characters and trim the string
to 64 characters.

### publicKey

This is the public key of the peer, marshalled in binary form as specicfied
Expand Down

0 comments on commit 7142a33

Please sign in to comment.