aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-06-09 14:16:56 +0000
committerWerner Koch <[email protected]>2023-06-09 14:16:56 +0000
commitc68dd22872375ab02223e2900ffa3bfe99e8b841 (patch)
treec3569c5544942ce07b95b36242ca50f3de90d9ec /doc/gpg.texi
parentdirmngr: Extend the AD_QUERY command. (diff)
downloadgnupg-c68dd22872375ab02223e2900ffa3bfe99e8b841.tar.gz
gnupg-c68dd22872375ab02223e2900ffa3bfe99e8b841.zip
gpg: Add --list-filter properties key_expires and key_expires_d.
* g10/import.c (impex_filter_getval): Support new filter properties. -- Here is how to list all subkeys expiring in the year 2061: gpg --list-keys --list-filter 'select= sub/key_expires_d -gt 2061-01-01 \ && sub/key_expires_d -lt 2061-12-31' To list all primary key expirations, use the "pub/" prefix and to list all expiration dates use no prefix. GnuPG-bug-id: 6509
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 6b584a913..61f047cc7 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2671,6 +2671,12 @@ The available properties are:
created. The second is the same but given as an ISO string,
e.g. "2016-08-17". (drop-subkey)
+ @item key_expires
+ @itemx key_expires_d
+ The expiration time of a public key or subkey or 0 if it does not
+ expire. The second is the same but given as an ISO date string or
+ an empty string e.g. "2038-01-19".
+
@item fpr
The hexified fingerprint of the current subkey or primary key.
(drop-subkey)