-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create self signed chain from command line #1
Merged
Merged
Changes from 10 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2535bc7
Create test chain from command line
stevenvegt eb69a50
Merge branch 'main' into use-test-chain
rolandgroen 109fad4
Prevented infinite loop
rolandgroen 7e88b99
Remove debug print statements from findOtherNameValue
rolandgroen 2eaf1d2
Refactor certificate validation to support test and self-signed CAs
rolandgroen 622cef4
Fix certificate lookup in validator
rolandgroen b093d0f
Update test-cert CLI to include UZI, URA, and AGB parameters
rolandgroen 976057c
Handle file write errors separately
rolandgroen 24ad916
Rename variables and use helper function for root CA check
rolandgroen 77551ec
Merge branch 'main' into use-test-chain
rolandgroen b09d7cc
Bugfix: Rename and update CertTemplate to include organization. The N…
rolandgroen b52af6f
Add `subject_did` field and update `test-cert` case
rolandgroen 8e67b8c
Potentially unsafe quoting: Refactor JSON unmarshal logic in Validate…
rolandgroen 83c6989
Refactor variable name in EncodeCertificates function
rolandgroen 9de9fc9
Add a comment to keep DebugUnmarshall for future debugging
rolandgroen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I did some refactoring around the concept op "test" and "self signed". The "test" stuff are certificates signed by the Test UZI Root Ca, the "self signed" stuff you added uses a own CA. To determine the latter case, the code checks if the certificates file is len(c) > 1. In that case it will use other validation logic than if not.