[gnutls-devel] GnuTLS | p11tool does not distinguish key objects with the same label (#1467)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Thu Oct 12 10:24:04 CEST 2023
Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1467#note_1599921891
With the new list-objects [subcommand](https://github.com/p11-glue/p11-kit/pull/533) of p11-kit, which uses the P11KitIter interface, the output is as follows:
```console
$ p11-kit list-objects pkcs11:model=SoftHSM%20v2
Object: #0
uri: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4b0a8274329e800a;token=Token1;id=;object=OpenDNSSEC1;type=public
class: public-key
key-type: ec
label: OpenDNSSEC1
id:
flags:
local
token
modifiable
copyable
destroyable
Object: #1
uri: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4b0a8274329e800a;token=Token1;id=;object=;type=public
class: public-key
key-type: rsa
label:
id:
flags:
local
token
modifiable
copyable
destroyable
Object: #2
uri: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4b0a8274329e800a;token=Token1;id=;object=;type=public
class: public-key
key-type: ec
label:
id:
flags:
local
token
modifiable
copyable
destroyable
Object: #3
uri: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4b0a8274329e800a;token=Token1;id=;object=;type=public
class: public-key
key-type: ec
label:
id:
flags:
local
token
modifiable
copyable
destroyable
```
I guess p11tool could also do similar.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1467#note_1599921891
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20231012/227191bf/attachment-0001.html>
More information about the Gnutls-devel
mailing list