You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/14 09:11:35 UTC

[GitHub] [pulsar] arnarg commented on issue #8152: Pulsar Authentication should support rotation of Validation keys e.g. Public keys used in JWT validation

arnarg commented on issue #8152:
URL: https://github.com/apache/pulsar/issues/8152#issuecomment-1246471372

   The JWT parser builder used in the `AuthenticationProviderToken`'s `initialize` method also supports providing a `SigningKeyResolver` that could be used to implement this.
   
   see:
   https://github.com/apache/pulsar/blob/822f89752b48840f658280d1c25ae8af37214190/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationProviderToken.java#L133
   
   and:
   https://github.com/jwtk/jjwt/blob/a7c1d3c003f5dc2beb791f438df552115e4d2302/api/src/main/java/io/jsonwebtoken/JwtParserBuilder.java#L232-L259
   
   Then in the worst case this could be used to read a jwks json file and in the best case check a jwks https endpoint.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org