Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Wrong type in JWE_EC.dec_setup #159

Copy link
Copy link
@vernans

Description

@vernans
Issue body actions

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.

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.