Skip to content

Wrong type in JWE_EC.dec_setup #159

Closed
@vernans

Description

@vernans

Hello cryptojwt team,
Thanks for your work, it usually works like a charm.
I found an issue in cryptojwt.jwe.jwe_ec.JWE_EC.dec_setup.

apu and apv are assigned "" when they are declared. When there is no other value in the header for them subsequently ecdh_derive_key crashes because it's trying to concatenate these strings with bytes. I guess they should be assigned a b"".

As I know your time also doesn't grow on trees let me know if I can help you with providing a PR for that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions