-
Notifications
You must be signed in to change notification settings - Fork 38
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
PKCS#11 Integration #44
Merged
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
f9d8b99
Add PKCS#11 changes back
13ajay 0528144
Fix file formatting using 'go fmt'
13ajay 3b373bb
Support separate context-specific PIN for PKCS#11 integration
13ajay 6712ed1
Ignore semgrep finding
13ajay 0abea75
Remove unused function and fix typo in pkcs11_signer.go
13ajay 3819b21
First pass at closing sessions after use
13ajay e383625
Fix empty credential output when TA and Profile ARN regions don't match
13ajay aa0f6e8
Save session and handle information by default
13ajay 9246a8f
Add happy-path testing for signer.CloseSession()
13ajay e500b1e
Refactor functions and comments in pkcs11_signer.go
13ajay b39ffd8
Refactor debug logging
13ajay 79b8418
Disallow intermediates from being specified with certain integrations
13ajay 70d07c5
Modify certificate chain searching with PKCS#11 integration
13ajay c38d846
Allow intermediates to be specified with PKCS#12
13ajay 3cad520
Parse certificate chain (if provided) from PKCS#12 file
13ajay 975b55a
Fetch resources upfront when creating PKCS11Signer
13ajay e02b1db
README updates for PKCS#11 integration
13ajay d7aaea0
Fix double prompting for PKCS#11 user PIN
13ajay 5e88fcf
Ignore errors when finding certificate chain to include in CreateSess…
13ajay 999f679
Fix comparison between key URI and cert URI when only the latter is p…
13ajay ebc42e3
Change shallow copy to deep copy from certUri into keyUri in pkcs11_s…
13ajay 9242ab0
Add --pkcs-lib as a valid flag for read-certificate-data
13ajay ed84141
Remove explicit slot and PIN flags for PKCS#11 integration
13ajay 2cf71f7
Add note about YubiKey attestation certificates
13ajay 8e3af69
Fix some PKCS#11 "hybrid" mode bugs.
13ajay 783c337
Provide URI path attribute names for CKA_ID and CKA_LABEL in README
13ajay bd1863b
Fix PIN prompting on Windows
13ajay 50120ab
Fix ReadCertificateBundleData
13ajay 81e8290
Change implementation of cert chain parsing from PKCS#12 files
13ajay d4c7698
Add note about zeroing out variables that store PKCS#11 PINs in README
13ajay 69b35b3
Add force-prompt flag to force prompting when CKA_ALWAYS_AUTHENTICATE
13ajay 029aa43
Include private key object URI in prompt message when prompting for c…
13ajay be61bf7
Change wording in PKCS#11 integration implementation note
13ajay 3f52117
Change "force-prompt" option to "reuse-pin"
13ajay a68303e
Add more debug logging for PKCS#11 integration
13ajay 3cb350e
Update version number for PKCS#11 integration release
13ajay 769e625
Update README with more documentation for PKCS#11 integration
13ajay 8698e72
Miscellaneous minor fixes
13ajay aa65351
Update THIRD-PARTY-LICENSES.txt
13ajay 8608552
Add note about unattended workloads and the reuse-pin flag
13ajay 6842eef
Merge branch 'main' into pkcs11
13ajay 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
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.
Define "poorly" in this context.
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'll do this in a follow-up PR. Merging this for now.