Fix verifyServerCertificateChain
failing to pass with old nodeId
#593
Labels
development
Standard development
r&d:polykey:core activity 2
Cross Platform Cryptography for JavaScript Platforms
r&d:polykey:core activity 3
Peer to Peer Federated Hierarchy
r&d:polykey:core activity 4
End to End Networking behind Consumer NAT Devices
Specification
The
verifyServerCertificateChain
inclient/utils.ts
needs to be fixed. By design it should pass verification for a cert chain that contains the desiredNodeId
anywhere in the valid chain. Currently this is failing.The function needs to checked and the exact issue found and a fix applied. Ultimately you should be able to verify a server with any valid
NodeId
inside it's cert chain.Additional context
Tasks
NodeId
within it's chain.The text was updated successfully, but these errors were encountered: