fix ansible-galaxy-collection test with revoked key (#77989)

* Remove unnecessary gpg passphrase
pull/77993/head
Sloane Hertel 2 years ago committed by GitHub
parent ca9be6e27e
commit a43112290a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,8 +182,6 @@ def sign_manifest(signature_path, manifest_path, module, collection_setup_result
"--pinentry-mode",
"loopback",
"--yes",
"--passphrase",
"SECRET",
"--homedir",
module.params['signature_dir'],
"--detach-sign",

@ -12,7 +12,7 @@
register: user
- name: generate key for user with gpg
command: "gpg --no-tty --homedir {{ gpg_homedir }} --passphrase SECRET --pinentry-mode loopback --quick-gen-key {{ user.stdout }} default default"
command: "gpg --no-tty --homedir {{ gpg_homedir }} --passphrase '' --pinentry-mode loopback --quick-gen-key {{ user.stdout }} default default"
- name: list gpg keys for user
command: "gpg --no-tty --homedir {{ gpg_homedir }} --list-keys {{ user.stdout }}"

Loading…
Cancel
Save