Skip to content

docs, vectors: add two more x509 SCT testvectors - #7215

Merged
alex merged 1 commit into
pyca:mainfrom
trail-of-forks:ww/test-vectors
May 12, 2022
Merged

alex merged 1 commit into
pyca:mainfrom
trail-of-forks:ww/test-vectors

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Signed-off-by: William Woodruff [email protected]

@woodruffw

Copy link
Copy Markdown
Member Author

cc @reaperhulk

@alex alex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

are you sure these encodings are correct? when parsing with the openssl CLI it seems to result in openssl not recognizing the extension at all

@woodruffw

Copy link
Copy Markdown
Member Author

are you sure these encodings are correct? when parsing with the openssl CLI it seems to result in openssl not recognizing the extension at all

Paul and I tried to do some root-causing of this yesterday. I'm not 100% sure yet, but I think OpenSSL's printing gives up entirely because it doesn't have a NID for any pair of (none, ...) or (..., anonymous) for the (hash, sig_algo) pair.

(I don't have an easy way to verify that though, since I did the binary patch by hand. But from the unit tests in #7207, the exceptions that I expect to be raised are indeed being raised, so I'm decently confident that I twiddled the right bytes.)

@woodruffw

Copy link
Copy Markdown
Member Author

@alex
alex merged commit 6fe0aaf into pyca:main May 12, 2022
@woodruffw
woodruffw deleted the ww/test-vectors branch May 12, 2022 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants