github spiffe/go-spiffe v2.9.0

5 hours ago

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)

Don't miss a new go-spiffe release

NewReleases is sending notifications on new releases.