Skip to content

Implement Argon2 S2K mechanism#1132

Closed
vanitasvitae wants to merge 8 commits into
bcgit:masterfrom
pgpainless:crypto-refresh_tags
Closed

Implement Argon2 S2K mechanism#1132
vanitasvitae wants to merge 8 commits into
bcgit:masterfrom
pgpainless:crypto-refresh_tags

Conversation

@vanitasvitae
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@vanitasvitae vanitasvitae force-pushed the crypto-refresh_tags branch from 0483ec9 to a7bfbfc Compare May 8, 2022 09:54
@vanitasvitae
Copy link
Copy Markdown
Contributor Author

Squashed where sensible.

@dghgit
Copy link
Copy Markdown
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.

2 participants