Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Argon2 S2K mechanism #1132

Closed
wants to merge 8 commits into from

Conversation

vanitasvitae
Copy link
Contributor

@vanitasvitae vanitasvitae commented Mar 23, 2022

This PR aims to implement the new Argon2 S2K mechanism for OpenPGP.
The PR further contains some updates from the crypto-refresh revision of the OpenPGP spec.

This is still pretty much work in progress, so do not yet merge!

I added factory methods for different S2K methods to the S2K class.
This should make creating S2K instances more straight forward, since the S2K method is no longer derived from argument ordering.

This also enables creating S2Ks using GNU_DUMMY_S2K methods.

@vanitasvitae vanitasvitae marked this pull request as draft March 23, 2022 20:32
@vanitasvitae vanitasvitae marked this pull request as ready for review April 4, 2022 11:42
@vanitasvitae
Copy link
Contributor Author

Ready for review :) I can squash the commits if necessary.

@vanitasvitae
Copy link
Contributor Author

Squashed where sensible.

@dghgit
Copy link
Contributor

dghgit commented Jul 12, 2022

Thanks for the patch! Merged.

@dghgit dghgit closed this Jul 12, 2022
pull bot pushed a commit to 86dh/bc-java that referenced this pull request Jul 13, 2022
pull bot pushed a commit to 86dh/bc-java that referenced this pull request Jul 13, 2022
pull bot pushed a commit to 86dh/bc-java that referenced this pull request Jul 13, 2022
@vanitasvitae vanitasvitae deleted the crypto-refresh_tags branch July 13, 2022 12:21
@vanitasvitae vanitasvitae mentioned this pull request Jun 13, 2023
50 tasks
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.

None yet

2 participants