From 8cb54e658bc19fb6dd9ff73554b4b11e02b53a04 Mon Sep 17 00:00:00 2001 From: jeanluc Date: Sun, 11 Dec 2022 19:15:41 +0100 Subject: [PATCH] Correct docs again --- salt/modules/gpg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/modules/gpg.py b/salt/modules/gpg.py index 46f7323c2fa..e6e0af31d85 100644 --- a/salt/modules/gpg.py +++ b/salt/modules/gpg.py @@ -573,7 +573,8 @@ def delete_key( use_passphrase Whether to use a passphrase with the signing key. Passphrase is retrieved - from Pillar value ``gpg_passphrase``. + from Pillar value ``gpg_passphrase``. Note that this defaults to True here, + contrary to the rest of the module functions that provide this parameter. .. versionadded:: 3003 @@ -1329,7 +1330,6 @@ def verify( salt '*' gpg.verify text='Hello there. How are you?' salt '*' gpg.verify filename='/path/to/important.file' - salt '*' gpg.verify filename='/path/to/important.file' use_passphrase=True salt '*' gpg.verify filename='/path/to/important.file' trustmodel=direct """