tls/: Fix typo in libp2p Public Key Extension (#448)

This commit is contained in:
Max Inden
2022-09-11 09:50:02 +02:00
committed by GitHub
parent 6b3d2630bb
commit 3babcc0598

View File

@@ -74,7 +74,7 @@ In order to prove ownership of its host key, an endpoint sends two values:
The public host key allows the peer to calculate the peer ID of the peer it is connecting to. Clients MUST verify that the peer ID derived from the certificate matches the peer ID they intended to connect to, and MUST abort the connection if there is a mismatch.
The peer signs the concatenation of the string `libp2p-tls-handshake:` and the encoded public key that it used to generate the certificate carrying the libp2p Public Key Extension, using its private host key. The public key is encoded as a `SubjectPublicKeyInfo` structure as described in RFC 5280, Section 4.1:
The peer signs the concatenation of the string `libp2p-tls-handshake:` and the encoded public key that is used to generate the certificate carrying the libp2p Public Key Extension, using its private host key. The public key is encoded as a `SubjectPublicKeyInfo` structure as described in RFC 5280, Section 4.1:
```asn1
SubjectPublicKeyInfo ::= SEQUENCE {