-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add uri2pem.py tool to create pkcs11-provider PEM key files #363
Conversation
1814982
to
0efe892
Compare
This allows to create anything, I think the tool should try to validate the URI by default (maybe by calling the openssl storeutl tool or something), and provide a bypass mode for those that "know what they are doing". Also we'd need a test to ensure what this tool is producing actually working files, ie again use an openssl tool to import the file and see that pkcs11 provider was able to parse it. |
Update:
In The tests work around a bug in asn1crypto that does not like Successful test run should look like:
|
d293ed1
to
b72d1fe
Compare
@space88man Can you please fix the REUSE issues? |
9aa2ec6
to
39f10c2
Compare
|
Signed-off-by: S-P Chan <[email protected]>
Thanks @space88man, merging |
Add a cli tool to create PEM files in PKCS#11 PROVIDER URI format
[Updated] Usage:
Example run: