Repository navigation
docs, vectors: add two more x509 SCT testvectors - #7215
Conversation
Signed-off-by: William Woodruff <[email protected]>
|
cc @reaperhulk |
alex
left a comment
There was a problem hiding this comment.
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 (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.) |
|
I think what's going on here is this: Which we get to probably because of this branch: In other words: we have a valid DER structure for the SCT, but OpenSSL doesn't know what to make of the parameters (since they're invalid). We get there through an obscene amount of indirection, but it boils down to this check in Which fails for the aforementioned reason: there's no NIDs for any pairs of |
Signed-off-by: William Woodruff [email protected]