jwt icon indicating copy to clipboard operation
jwt copied to clipboard

Does this support the x5c/x5u fields in JWS? (RFC-7515)

Open lggomez opened this issue 4 years ago • 2 comments
trafficstars

Migrated from https://github.com/dgrijalva/jwt-go/issues/325:

itstehkman commented on May 4, 2019

This would be an awesome feature. I took a very quick look and it seems like this project does not support it, but maybe I am wrong.

See https://tools.ietf.org/html/rfc7515#section-4.1.6 for more details on this field - it is essentially providing the certificate and its chain in some JWT headers so that both the signature and the cert can be verified.

FWIW, I am trying to add support to the main ruby JWT library, I can post back here with what the PR looks like there. jwt/ruby-jwt#59 (https://github.com/jwt/ruby-jwt/issues/59)

lggomez avatar Aug 03 '21 13:08 lggomez

dgrijalva commented on May 21, 2019

It does not at the moment, though I'd be open to reviewing a PR.

lggomez avatar Aug 03 '21 13:08 lggomez

I think this was largely superseded by the idea of JSON web keys. Which might be interested to support as part of the request package.

oxisto avatar Aug 03 '21 14:08 oxisto