-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: x509 chain verification (#152)
* feat: added module x509 and function verify_x509_cert_chain * fix: fixed conversion for right handling * fix: removed breakpoint * feat: added better logging * fix: typo * test: initial implementation of tests for x509 * fix: fixed typo * Update pyeudiw/x509/verify.py Co-authored-by: Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it> * Update pyeudiw/x509/verify.py Co-authored-by: Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it> * fix: fixed typo * fix: fix argument passing in verify_x509_cert_chain * feat: added x509 support to storage module * test: added testo for db engine * feat: added verify_x509_anchor plus refactoring * test: added tests for verify_x509_anchor * fix: added dependency * fix: typo * feat: added optional exp in verify functions * test: added test for None exp * feat: initial support for x509 handling * Update pyeudiw/storage/mongo_storage.py Co-authored-by: Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it> * Update pyeudiw/storage/mongo_storage.py Co-authored-by: Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it> * feat: added function get_issuer_from_x5c * test: added test for get_issuer_from_x5c function * fix: added typ field to protected header * feat: implemented evaluation_method * fix: added trust_type_map * fix: fixed variables names * feat: added function is_der_format * test: test der validity with is_der_format * fix: fixed evaluation_method reading chain elements type * fix: removed unecessary field * fix: renamed function * fix: added more context to warning messages * fix: added mappings for entity field name --------- Co-authored-by: Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it>
- Loading branch information
Showing
11 changed files
with
542 additions
and
64 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
Oops, something went wrong.