ruby-jwe icon indicating copy to clipboard operation
ruby-jwe copied to clipboard

Default alg/enc in docs does not match default in code

Open alexhatbetterment opened this issue 1 year ago • 0 comments

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

alexhatbetterment avatar Oct 16 '24 14:10 alexhatbetterment