-
Notifications
You must be signed in to change notification settings - Fork 52
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
_verify: Check for URI SANs when verifying certificate emails #288
Conversation
Hmm, strange. I'm seeing this error.
But (env) tetsuo@Alexs-MacBook-Pro sigstore-python % openssl verify -CAfile sigstore/_store/fulcio.crt.pem -untrusted sigstore/_store/fulcio_intermediate.crt.pem -attime 1667452558 ./test/assets/c.txt.crt
./test/assets/c.txt.crt: OK Edit: Ah, I was mixing up prod and staging. 🤦 |
test/test_verify.py
Outdated
a_assets[0], | ||
a_assets[1], | ||
a_assets[2], | ||
expected_cert_email="william@yossarian.net", |
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.
@woodruffw Do you mind if I check this in a unit test? I can generate another certificate with my Trail of Bits email if you'd prefer that I don't expose this.
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.
Nope, I don't mind. It's already checked in, anyways 🙂
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
e42df0e
to
2d7311e
Compare
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.
LGTM structurally, although I think we'll need a resolution to #108 before we can merge this.
I opened #289 for |
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
99bbac2
to
8836350
Compare
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.
LGTM! A small nit about testing, but otherwise good to go.
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
6c47005
to
c170e91
Compare
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
Signed-off-by: Alex Cameron <asc@tetsuo.sh>
35ee31c
to
36fc166
Compare
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.
LGTM!
No description provided.