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

0bb701
--- gnutls-3.7.2/doc/manpages/p11tool.1	2021-05-29 10:15:22.000000000 +0200
0bb701
+++ gnutls-3.7.2-bootstrapped/doc/manpages/p11tool.1	2021-06-28 09:35:23.000000000 +0200
0bb701
@@ -230,8 +230,9 @@
0bb701
 .NOP \f\*[B-Font]\-\-write\f[]
0bb701
 Writes the loaded objects to a PKCS #11 token.
0bb701
 .sp
0bb701
-It can be used to write private, public keys, certificates or secret keys to a token. Must be combined with
0bb701
-    one of \--load-privkey, \--load-pubkey, \--load-certificate option.
0bb701
+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.
0bb701
+.sp
0bb701
+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.
0bb701
 .TP
0bb701
 .NOP \f\*[B-Font]\-\-delete\f[]
0bb701
 Deletes the objects matching the given PKCS #11 URL.