Skip to content
Snippets Groups Projects
Verified Commit 434763e1 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

misc/vault-keyring-client.sh: explain flock usage

Fixes: 511b6ca4 ("misc/vault-keyring-client.sh: add flock workaround")
parent 9df19091
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
readonly vault_password_file_encrypted="$(dirname $0)/vault-$2-password.gpg"
# often getting "gpg: decryption failed: No secret key" in tf-stage2
# seems to work with flock (issue last reproduced with gnupg 2.2.35)
# flock used to work around "gpg: decryption failed: No secret key" in tf-stage2
# would otherwise need 'auto-expand-secmem' (https://dev.gnupg.org/T3530#106174)
flock "$vault_password_file_encrypted" \
gpg --batch --decrypt --quiet "$vault_password_file_encrypted"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment