feat(pkcs11-tool): print CKA_UNIQUE_ID value for keys and certificates #2644
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.
Hi All,
Our PKCS#11 implementation is using the CKA_UNIQUE_ID attribute and it is quite convenient to be able to display it with the pkcs11-tool.
This is the new output:
Certificate Object; type = X.509 cert
subject: DN: C=FR, ST=PACA, L=Valbonne, O=Trustonic, CN=*.trustonic.com
serial: 63E2A7CA72264EAB2E1E70ADC52341D44EC2D4A7
ID: 01
Unique ID: cef6c9a53f838aff0bd8125c3b3b0631b4bcb1bbbee70de0d106b5504c63b92a71794f2aa765c6514e7a3f3770913fe3e03a3e3697aba0c8b6e64dbc1fcd0c14
Checklist