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

kdf: add PIN verification key KDF to providers #15968

Closed
wants to merge 10 commits into from

Conversation

paulidale
Copy link
Contributor

@paulidale paulidale commented Jul 1, 2021

This is in pem/pvkfmt.c currently. Since it is a KDF, it is better located in a provider -- in this case legacy since it is only used if RC4 is available.

This PR is based on #15967, will need to be rebased after that is merged.

The existing test cases exercise this code sufficiently.

  • documentation is added or updated
  • tests are added or updated

@paulidale paulidale added branch: master Merge to master branch approval: review pending This pull request needs review by a committer hold: merge after release This pull request must not be merged until after the release from the merge branch is done labels Jul 1, 2021
@paulidale paulidale added this to the Post 3.0.0 milestone Jul 1, 2021
@paulidale paulidale self-assigned this Jul 1, 2021
@github-actions github-actions bot added the severity: fips change The pull request changes FIPS provider sources label Jul 1, 2021
@paulidale paulidale force-pushed the pvkkdf branch 2 times, most recently from a3dd7ec to db76dfd Compare July 5, 2021 01:52
@t8m t8m added the triaged: feature The issue/pr requests/adds a feature label Aug 9, 2021
@paulidale
Copy link
Contributor Author

Rebased to current master

@paulidale paulidale removed the hold: merge after release This pull request must not be merged until after the release from the merge branch is done label Sep 3, 2021
@paulidale
Copy link
Contributor Author

Review required.

@paulidale paulidale added the hold: need otc decision The OTC needs to make a decision label Sep 13, 2021
@paulidale
Copy link
Contributor Author

Was kind of hoping for a 3.0.1/3.1 decisions. Master feels fine for this change.

@paulidale paulidale removed the hold: need otc decision The OTC needs to make a decision label Sep 15, 2021
@paulidale
Copy link
Contributor Author

Ping for review

@paulidale
Copy link
Contributor Author

Rebased to master, still awaiting review.

Copy link
Member

@t8m t8m left a comment

Choose a reason for hiding this comment

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

Some things to consider. Also should there be a CHANGES.md entry? We have it for other KDFs.
Also, should we have some test cases in evp tests?

doc/man7/EVP_KDF-PVKKDF.pod Show resolved Hide resolved
providers/implementations/kdfs/pvkkdf.c Show resolved Hide resolved
@paulidale
Copy link
Contributor Author

Good feedback @t8m, I'll address net week.

These cases were generated using OpenSSL.
@paulidale
Copy link
Contributor Author

Feedback addressed, test cases added.

@t8m t8m added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Sep 27, 2021
@openssl-machine openssl-machine removed the approval: done This pull request has the required number of approvals label Sep 28, 2021
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@openssl-machine openssl-machine added the approval: ready to merge The 24 hour grace period has passed, ready to merge label Sep 28, 2021
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Add PIN Verification Key key derevation function to providers.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
openssl-machine pushed a commit that referenced this pull request Sep 28, 2021
These cases were generated using OpenSSL.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15968)
@paulidale
Copy link
Contributor Author

Merged to master, thanks for the reviews.

@paulidale paulidale closed this Sep 28, 2021
@paulidale paulidale deleted the pvkkdf branch September 28, 2021 08:10
levitte pushed a commit to openssl/otc that referenced this pull request Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch severity: fips change The pull request changes FIPS provider sources triaged: feature The issue/pr requests/adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants