Skip to content

v2.9.0

Latest

Choose a tag to compare

@amartinezfayo amartinezfayo released this 05 Oct 18:26
77c6d2e

Added

  • spiffeid.MatchIDPrefix matcher and tlsconfig.AuthorizeIDPrefix authorizer, which accept any SPIFFE ID in the same trust domain whose path matches the given prefix's path or extends it on a segment boundary. The prefix must have a nonempty path, otherwise no ID matches (#406)

Changed

  • PeerID on connections returned by spiffetls, and spiffetls.PeerIDFromConn, now complete the TLS handshake if needed, so the peer ID can be retrieved before the first read. When the handshake is still pending, the call performs I/O like a Read would and honors the connection deadlines (#422)