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

Tests for 4.1.x of PKITS #73

Closed
wants to merge 1 commit into from

Conversation

nick-mobilecoin
Copy link
Collaborator

Fill in the tests for section 4.1 of PKITS.
The tests for 4.1.4-4.1.6 have been omitted as they refer to DSA which
has been deprecated, see
https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5-draft.pdf#%5B%7B%22num%22%3A72%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C72%2C721%2Cnull%5D

Motivation

@github-actions github-actions bot added the size/M Medium-sized PRs label May 2, 2023
@github-actions
Copy link

github-actions bot commented May 2, 2023

❌ Unreviewed dependencies found

Crate Version Reviews (N/2) LoC Left-Pad Index Geiger Flags

@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

❗ No coverage uploaded for pull request base (nick/rsa-certificate@302d2cb). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 702c986 differs from pull request most recent head 5cd3159. Consider uploading reports for the commit 5cd3159 to get more accurate results

@@                   Coverage Diff                   @@
##             nick/rsa-certificate      #73   +/-   ##
=======================================================
  Coverage                        ?   97.93%           
=======================================================
  Files                           ?        8           
  Lines                           ?     2084           
  Branches                        ?        0           
=======================================================
  Hits                            ?     2041           
  Misses                          ?       43           
  Partials                        ?        0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nick-mobilecoin nick-mobilecoin requested review from a team and varsha888 and removed request for jcape and a team May 3, 2023 14:04
@varsha888
Copy link

Could you give me more context on PKITS and whats 4.1.1, 4.1.2 and 4.1.3 ?

@nick-mobilecoin
Copy link
Collaborator Author

Could you give me more context on PKITS and whats 4.1.1, 4.1.2 and 4.1.3 ?

Good call out. I was too deep into what I was doing and this PR by itself doesn't have that context.

In #75 I moved this out to an integration test and put the following at the top of the file. Let me know if this suffices or if there should be more context in the resultant test file.

//! Test for section 4.1 of the PKI test suite.
//! https://csrc.nist.gov/projects/pki-testing
//!
//! Tests 4.1.4 - 4.1.6 are not implemented because DSA has been deprecated, see
//! https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5-draft.pdf#%5B%7B%22num%22%3A72%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C72%2C721%2Cnull%5D

Fill in the tests for section 4.1 of PKITS.
The tests for 4.1.4-4.1.6 have been omitted as they refer to DSA which
has been deprecated, see
https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5-draft.pdf#%5B%7B%22num%22%3A72%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C72%2C721%2Cnull%5D
@nick-mobilecoin
Copy link
Collaborator Author

punting on implementing x509 chain parsing logic.

@nick-mobilecoin nick-mobilecoin deleted the nick/pkits-4.1 branch October 3, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Medium-sized PRs
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants