-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add an OpenSSL harness #13
Conversation
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Just a convenient helper for debugging. Signed-off-by: William Woodruff <william@trailofbits.com>
This testcase doesn't rely on an intermediate CA being a leaf, so don't use one as such. Signed-off-by: William Woodruff <william@trailofbits.com>
These didn't need to be full module paths. Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Should be None, not an empty list. Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
This is a chunky PR, but most of it is two single-header libraries that can be ignored for review purposes. Key changes:
I'm thinking that, once this is merged, we should probably update the |
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.
NB: Got lazy; this assumes macOS with Homebrew at the moment.
When you say a schema for results, do you mean expected results (i.e., "This testcase should validate, this one should fail") or do you mean for the results of running a test? |
The latter -- the testcase schema contains the expected results (via |
Why do we want/need that? Seems like how you consume results will be very
project specific (e.g., for pyca/cryptography it'll just be part of our
pytest suite)
…On Wed, Jul 5, 2023 at 11:52 AM William Woodruff ***@***.***> wrote:
When you say a schema for results, do you mean expected results (i.e.,
"This testcase should validate, this one should fail") or do you mean for
the results of running a test?
The latter -- the testcase schema contains the expected results (via
expected_result), and the "results" schema contains the "actual" results
(via actual_result). Terrible naming, sorry.
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBEQVQU2FM2XHXYH7V3XOWESBANCNFSM6AAAAAAZ5DIRZY>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
I don't think it'll useful for In other words I think end consumers probably won't need the result models; they're mostly just useful for our own CI/diagnosing as we build out testcases here. |
Relaying from chat: @alex brought up a good point that the result models probably won't be externally useful, so I'm going to exclude them from the generated |
These are only useful within our own repo. Signed-off-by: William Woodruff <william@trailofbits.com>
One thing to note is that the Go implementation parses the test cases with structs automatically generated from JSON schema. We can use an unstructured Dumb question: other than the test harnesses, where is the Limbo schema going to be used? |
Let's write them manually -- we don't expect this result schema to change significantly and, if it does, changes to it should be considered part of our internal use.
Not a dumb question! The ultimate idea here is to make both That's the medium-term plan with |
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.
Not very familiar with the OpenSSL APIs. Looks good overall, build nits notwithstanding.
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
restore pqckeys
Still a WIP.This just gives us another thing to sanity-check against.Closes #14.