go-jose icon indicating copy to clipboard operation
go-jose copied to clipboard

Handle JSONWebKey by value when making JWERecipient

Open alee792 opened this issue 4 years ago • 1 comments

See #360.

JSONWebKey as a key was not supported, but *JSONWebKey was. Simply added a new case to handle the value version. Tests still pass.

The second issue mentioned in #360 was a misread. The recipient, which contains the keyID, is added directly to the encrypter in the default case.

alee792 avatar Oct 20 '21 20:10 alee792

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 20 '21 20:10 CLAassistant