aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2025-10-29 08:22:34 +0000
committerIngo Klöcker <[email protected]>2025-10-29 08:22:34 +0000
commit2360b937cf8f9bc52655e45dccd1885dd4c7ac32 (patch)
tree3357d6b0cd1705b74802c6d2066af813a69f6b78
parentImprove tracing for engine-gpgsm (diff)
downloadgpgme-2360b937cf8f9bc52655e45dccd1885dd4c7ac32.tar.gz
gpgme-2360b937cf8f9bc52655e45dccd1885dd4c7ac32.zip
doc: Clarify that keygrip lists multiple keygrips for combined algosHEADmaster
* doc/gpgme.texi (section Data type gpgme_subkey_t): Amend documentation of keygrip member. * src/gpgme.h.in (_gpgme_subkey): Ditto. -- GnuPG-bug-id: 7883
Diffstat (limited to '')
-rw-r--r--doc/gpgme.texi5
-rw-r--r--src/gpgme.h.in3
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index cdacd9e1..a4628378 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -3711,8 +3711,9 @@ hexadecimal digits, if available.
@item char *keygrip
@since{1.7.0}
-The keygrip of the subkey in hex digit form or @code{NULL} if not
-available.
+The keygrip(s) of the subkey in hex digit form or @code{NULL} if not
+available. For combined algorithms the keygrips are delimited
+by comma.
@item unsigned long int timestamp
This is the creation timestamp of the subkey. This is @code{(unsigned
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 7bbeff06..d5f65caa 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -664,7 +664,8 @@ struct _gpgme_subkey
* string for composite algorithms, or NULL. */
char *curve;
- /* The keygrip of the subkey in hex digit form or NULL if not available. */
+ /* The keygrip(s) of the subkey in hex digit form or NULL if not available.
+ * For combined algorithms the keygrips are delimited by comma. */
char *keygrip;
/* For OpenPGP the v5 fpr of a v4 key. For X.509 the SHA256 fingerprint. */