mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Make gpg.verify respect gnupghome
This commit is contained in:
parent
2e7b224608
commit
42891c8c61
2 changed files with 2 additions and 1 deletions
1
changelog/63145.fixed
Normal file
1
changelog/63145.fixed
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed gpg.verify does not respect gnupghome
|
|
@ -1146,7 +1146,7 @@ def verify(
|
|||
salt '*' gpg.verify filename='/path/to/important.file' trustmodel=direct
|
||||
|
||||
"""
|
||||
gpg = _create_gpg(user)
|
||||
gpg = _create_gpg(user, gnupghome)
|
||||
trustmodels = ("pgp", "classic", "tofu", "tofu+pgp", "direct", "always", "auto")
|
||||
|
||||
if trustmodel and trustmodel not in trustmodels:
|
||||
|
|
Loading…
Add table
Reference in a new issue