aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-03-14 12:24:44 +0000
committerWerner Koch <[email protected]>2025-03-14 12:24:44 +0000
commit95a11baaa2c05832687cc81496449598034b0fb0 (patch)
treed9d96c375b4c9a1cf4b033fb40f122ab10fa8422
parentgpg: Fix double free of internal data. (diff)
downloadgnupg-95a11baaa2c05832687cc81496449598034b0fb0.tar.gz
gnupg-95a11baaa2c05832687cc81496449598034b0fb0.zip
doc: Minor updates
--
-rw-r--r--doc/DETAILS13
-rw-r--r--g10/encrypt.c2
-rw-r--r--g10/import.c2
3 files changed, 14 insertions, 3 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index 35149594c..c1a9b527a 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -279,10 +279,21 @@ described here.
latter solves the cases where a key is updated by fingerprint and
and thus there is no way to know which user ID shall be used.
+ The meaning of the integer along with the human readable
+ representation is:
+
+ - 1 (ks) :: Public keyserver.
+ - 2 (ks-pref) :: Preferred keysrver.
+ - 3 (dane) :: OpenPGP DANE.
+ - 4 (wkd) :: Web Key Directory.
+ - 5 (url) :: Trusted URL.
+ - 6 (file) :: Trusted file.
+ - 7 (self) :: Generated by us.
+
*** Field 21 - Comment
This is currently only used in "rev" and "rvs" records to carry
- the the comment field of the recocation reason. The value is
+ the the comment field of the revocation reason. The value is
quoted in C style.
** Special fields
diff --git a/g10/encrypt.c b/g10/encrypt.c
index 9b27b595b..ea0ea1b2b 100644
--- a/g10/encrypt.c
+++ b/g10/encrypt.c
@@ -1121,7 +1121,7 @@ reencrypt_to_new_recipients (ctrl_t ctrl, int armor, const char *filename,
if (err)
goto leave;
- /* The write the old recipients in --add-recipients mode. */
+ /* Write the old recipients in --add-recipients mode. */
for (count=0, el = pkenc_list; el; el = el->next, count++)
if (!ctrl->clear_recipients)
{
diff --git a/g10/import.c b/g10/import.c
index 09a2c2432..9d92268c5 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -1816,7 +1816,7 @@ insert_key_origin_uid (PKT_user_id *uid, u32 curtime,
/* We insert origin information on a UID only when we received
* them via the Web Key Directory or a DANE record. The key we
* receive here from the WKD has been filtered to contain only
- * the user ID as looked up in the WKD. For a DANE origin we
+ * the user ID as looked up in the WKD. For a DANE origin
* this should also be the case. Thus we will see here only one
* user id. */
uid->keyorg = origin;