Skip to content
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: extend for printing the PKCS#11 URI for the objects #3129

Closed
sarroutbi opened this issue Apr 30, 2024 · 0 comments · Fixed by #3130
Closed

pkcs11-tool: extend for printing the PKCS#11 URI for the objects #3129

sarroutbi opened this issue Apr 30, 2024 · 0 comments · Fixed by #3130

Comments

@sarroutbi
Copy link
Contributor

sarroutbi commented Apr 30, 2024

Feature Description

pkcs11-tool: An extension should be introduced for printing the PKCS#11 URI for the objects (most of the current code included in #3125 could be reused) and some test coverage to see if printed URIs make sense. Additionally, it should be quite easy to extend tests (for example, tests/test-pkcs11-tool-import.sh) and grep for the important URI parts.

For example, next "Data object":

Data object 31825696
  label:          'Secure Messaging Certificate Signer'
  application:    'Secure Messaging Certificate Signer'
  app_id:         ...
  flags:          <empty>

Should include an additional URI entry, like this:

Data object 31825696
  label:          'Secure Messaging Certificate Signer'
  application:    'Secure Messaging Certificate Signer'
  app_id:         ...
  flags:          <empty>
  uri:            pkcs11:model=...;object=Secure%20Messaging%20Certificate%20Signer;type=data
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Resolves: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue Apr 30, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 6, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 6, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 6, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 6, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit to sarroutbi/OpenSC that referenced this issue May 13, 2024
Fixes: OpenSC#3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Jakuje pushed a commit that referenced this issue May 21, 2024
Fixes: #3129

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant