ruby-jwe
ruby-jwe copied to clipboard
Default alg/enc in docs does not match default in code
Default in docs says
default alg and enc methods (RSA-OAEP and A128CBC-HS256)
https://github.com/jwt/ruby-jwe/blob/master/README.md?plain=1#L16
Default in code is
def encrypt(payload, key, alg: 'RSA-OAEP', enc: 'A128GCM', **more_headers)
https://github.com/jwt/ruby-jwe/blob/master/lib/jwe.rb#L24