Blame SOURCES/gnutls-3.6.16-doc-p11tool-ckaid.patch

13e4ad
--- gnutls-3.7.2/doc/manpages/p11tool.1	2021-05-29 10:15:22.000000000 +0200
13e4ad
+++ gnutls-3.7.2-bootstrapped/doc/manpages/p11tool.1	2021-06-28 09:35:23.000000000 +0200
13e4ad
@@ -230,8 +230,9 @@
13e4ad
 .NOP \f\*[B-Font]\-\-write\f[]
13e4ad
 Writes the loaded objects to a PKCS #11 token.
13e4ad
 .sp
13e4ad
-It can be used to write private, public keys, certificates or secret keys to a token. Must be combined with
13e4ad
-    one of \--load-privkey, \--load-pubkey, \--load-certificate option.
13e4ad
+It can be used to write private, public keys, certificates or secret keys to a token. Must be combined with one of \--load-privkey, \--load-pubkey, \--load-certificate option.
13e4ad
+.sp
13e4ad
+When writing a certificate object, its CKA_ID is set to the same CKA_ID of the corresponding public key, if it exists on the token; otherwise it will be derived from the X.509 Subject Key Identifier of the certificate. If this behavior is undesired, write the public key to the token beforehand.
13e4ad
 .TP
13e4ad
 .NOP \f\*[B-Font]\-\-delete\f[]
13e4ad
 Deletes the objects matching the given PKCS #11 URL.