-
-
Notifications
You must be signed in to change notification settings - Fork 26
Add simplified Order::finalize() method #95
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
Conversation
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.
Generally looks good, but I think we can make the API a bit easier. WDYT? I'm also open to landing this as-is and then iterating.
d4e9c2c
to
5f9cb12
Compare
@cpu any clue what this might be about off the top of your head?
I guess the fact that it's about a wildcard is not a coincidence... |
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.
Nice!
Oh! I have a hunch.... We're collecting up the identifiers from the order authorizations now, but wildcard identifiers are handled specially (ugh) in the authz representation. RFC 8555 7.1.4 says:
E.g. I think an order that includes I have to switch gears to other work this morning but can look closer if my hunch is wrong. |
Oh wow, that's pretty interesting stuff... Reworked the code to try and encode this into the type system, please have a look when you have a moment. |
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.
Just a few doc nits from the latest updates 👍
I wish I remembered why it ended up this way 🤔 I think there was some consternation around keeping the authz identifiers as valid domain names and the wildcard stuff is a (poorly specified) property of X.509/TLS. |
🎉 Very cool. It was also nice to see the Pebble integration tests (and cc92a3e) pulling their weight and catching a bug before it lands!! |
Slicing off some more boilerplate. Doesn't feel like a big win, but might be a small one. What do you think?