-
Notifications
You must be signed in to change notification settings - Fork 23
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
QCP-N-QSCD 411 1(411 2), 412-2 and 412 5 #129
base: main
Are you sure you want to change the base?
QCP-N-QSCD 411 1(411 2), 412-2 and 412 5 #129
Conversation
# PR Question: Is this from 415_5.qcs-4.2? Needs different classifier? | ||
allowances[en_319_412_5.id_etsi_qcs_QcCClegislation] = Rfc2119Word.MUST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering what the source was for this rule. I couldn't really find it other than the reference in 412-5 QCS 4.2. If so, would it need a different source in the validation finding?
0929950
to
0e59ab3
Compare
e06fa2d
to
6567785
Compare
6567785
to
caa9f65
Compare
Moved to ready-for-review since the ETSI rules are now considered feature-complete from my end (and I'm going to shift towards implementing the POR rules now), looking forward to the feedback! |
Thank you this great contribution, @breynders-cb! I'm currently traveling for work this week, but will review this PR fully when I return next week. As for the test case generation, we use der-ascii to generate test artifacts. It has a bit of learning curve to use, but quite powerful and flexible. The test case file format is the PEM text of the artifact followed by the CSV-formatted output of findings. This makes it relatively simple to write test case generation scripts. We originally did not flesh out the ETSI |
Great, thanks! I'll add der-ascii to my list of tools, for now I spruced up some of our test code and generated test certificates through bouncy castle so all new rules should have tests in the PEM+csv format. |
caa9f65
to
a0295ea
Compare
a0295ea
to
dd6e770
Compare
As previously mentioned in #124, a first PR which extends pkilint with QCP-N-QSCD for 411-1 (with restrictions of 411-2), 412-2 and 412-5.
I did my best in maintaining the existing structure of everything, please let me know where you'd want changes and we'll use this PR to get everything aligned as much as possible.
I've generated certificates as integration tests to validate most (or all) rules that I've added as part of the qcp-n-qscd profile.
Additionally:
finding_metadata.csv
seems to be empty, I tried to document all the sources (and changes) but is it on the roadmap to fill in that csv?And some further questions inlined ⬇️