-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verification: client verification APIs (#10345)
* verification: WIP client verification skeleton Signed-off-by: William Woodruff <[email protected]> * verify: fill in build_client_verifier Signed-off-by: William Woodruff <[email protected]> * implement ClientVerifier.verify Signed-off-by: William Woodruff <[email protected]> * verification: make Python 3.8 happy Signed-off-by: William Woodruff <[email protected]> * switch to a full VerifiedClient type Signed-off-by: William Woodruff <[email protected]> * remove the SubjectOwner::None hack Signed-off-by: William Woodruff <[email protected]> * docs: fix ClientVerifier Signed-off-by: William Woodruff <[email protected]> * verification: replace match with if Signed-off-by: William Woodruff <[email protected]> * return GNs directly, not whole extension Signed-off-by: William Woodruff <[email protected]> * docs/verification: document UnsupportedGeneralNameType raise Signed-off-by: William Woodruff <[email protected]> * lib: RFC822 checks on NCs * test_limbo: enable client tests * tests: flake * test_verification: more Python API coverage * verification: filter GNs by NC support * verification: forbid unsupported NC GNs This is what we should have been doing originally, per RFC 5280 4.2.1.10: > If a name constraints extension that is marked as critical > imposes constraints on a particular name form, and an instance of > that name form appears in the subject field or subjectAltName > extension of a subsequent certificate, then the application MUST > either process the constraint or reject the certificate. * docs/verification: remove old sentence Signed-off-by: William Woodruff <[email protected]> * verification: ensure the right EKU for client/server paths Signed-off-by: William Woodruff <[email protected]> * test_limbo: fixup EKU assertion * verification: feedback --------- Signed-off-by: William Woodruff <[email protected]>
- Loading branch information
Showing
9 changed files
with
361 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.