Shouldn't jwk.import_from_pyca
also provide a kid
param and set it to thumbprint()
by default?
#332
Labels
jwk.import_from_pyca
also provide a kid
param and set it to thumbprint()
by default?
#332
When importing from a pem file (
import_from_pem
), thekid
can be set or if not, it uses thethumbprint()
by default.Especially when the
jwk
is added to ajwks
afterwards - and potentially multiple keys are in thejwks
, akid
would be required to identify the right key.jwcrypto/jwcrypto/jwk.py
Line 1012 in 41fb08a
Example workaround:
Anything I'm doing wrong here?
Thanks,
Matthias
The text was updated successfully, but these errors were encountered: