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
{{ message }}
Repository navigation
Commit 95392ef
Browse filesBrowse the repository at this point in the historyBrowse files
fix: share the key encoding across encrypters and keep RSA peer keys (#3669)
* refactor(plaintext): exchange the public key as protobuf bytes
The key type is now read from the key instead of guessed from its length. The wire format is unchanged, pinned by new tests for Ed25519 and RSA.
* fix(tls): keep the public key of RSA remote peers
Encode the certificate key with publicKeyToProtobuf, dropping the duplicated key schema, and derive the remote peer id from the key directly.
* refactor: derive peer ids from public keys directly instead of via a CID
* refactor(noise): return the remote peer from the handshake instead of parsing the identity key twice
* test: assert connection encrypters return RSA remote peers with their key
0 commit comments