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
pkcs11-tool should provide an option to get slot information as pkcs11-uri #3123
Comments
The PKCS#11 URI identifies not only the slots, but also objects, so if we should have it, I would say it should be just printed in the output where we list slots or objects. It has also several non-mandatory parts, such as PIN, module path, which should probably not be used in the default print.
The reason why it was not implemented so far is likely nobody needed that so far. Every time I needed a PKCS#11 URI in the output, I usually used p11tool from gnutls or p11-kit, which prints these. So if you are (or anyone else) interested in implementing this, we would be happy to accept patches. |
Resolves: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Resolves: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Fixes: OpenSC#3123 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Problem Description
It would be great if pkcs11-tool could include a function to dump slot information as a PKCS#11 URI
Proposed Resolution
pkcs11-tool already dumps information related to each of the detected devices. For example:
An option like
-u, --uri
would be nice, to dump this information as a supported PKCS#11 URI:The text was updated successfully, but these errors were encountered: