From 8ca87be64a263345aaa71a68d1a049927315818f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 6 May 2021 22:08:07 +0200 Subject: [PATCH] gpg: include "revoked" key trust --- changelog/54347.fixed | 1 + salt/modules/gpg.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/54347.fixed diff --git a/changelog/54347.fixed b/changelog/54347.fixed new file mode 100644 index 00000000000..307e630eccf --- /dev/null +++ b/changelog/54347.fixed @@ -0,0 +1 @@ +Fixed listing revoked keys with gpg.list_keys diff --git a/salt/modules/gpg.py b/salt/modules/gpg.py index e9253819e0b..f5fbfd01651 100644 --- a/salt/modules/gpg.py +++ b/salt/modules/gpg.py @@ -35,6 +35,7 @@ LETTER_TRUST_DICT = { "f": "Fully Trusted", "m": "Marginally Trusted", "u": "Ultimately Trusted", + "r": "Revoked", "-": "Unknown", }