Skip to content

security: zeroize encoding and decoding keys#483

Merged
arckoor merged 1 commit intoKeats:masterfrom
boxdot:zeroize
Apr 18, 2026
Merged

security: zeroize encoding and decoding keys#483
arckoor merged 1 commit intoKeats:masterfrom
boxdot:zeroize

Conversation

@boxdot
Copy link
Copy Markdown
Contributor

@boxdot boxdot commented Feb 12, 2026

Addresses #337.

PemEncodedKey is still not zeroized and may contain sensistive data. Currently, it uses simple_asn1 which does not support zeroize and also does not support parsing without taking ownership of the data.

Comment thread src/decoding.rs
@arckoor
Copy link
Copy Markdown
Collaborator

arckoor commented Apr 17, 2026

You probably also need to rebase onto master for CI to work

@boxdot boxdot requested a review from arckoor April 18, 2026 17:01
@arckoor
Copy link
Copy Markdown
Collaborator

arckoor commented Apr 18, 2026

lgtm but I'd prefer a linear history
can be squashed into a single commit

Addresses Keats#337

`PemEncodedKey` is still not zeroized and may contain sensistive data.
Currently, it uses simple_asn1 which does not support zeroize and also
does not support parsing without taking ownership of the data.
Copy link
Copy Markdown
Collaborator

@arckoor arckoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@arckoor arckoor merged commit ddd2389 into Keats:master Apr 18, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants