mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
56c5a8b9b2
Given a password stored in _path/to/secret_, requesting the password
_path/to_ will literally return `path/to`. This can lead to using
weak passwords by accident/mess up logic in code, based on the
state of the password store.
This is worked around by applying the same logic `pass` uses:
If a password was returned, check if there is a .gpg file it could
have come from. If not, treat it as missing.
Fixes ansible-collections/community.general#4185
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
3.8.5.yml | ||
3703-force-install-homebrew-cask.yml | ||
3916-fix-vdo-options-type.yml | ||
3935-use-gitlab-instance-runner-to-create-runner.yml | ||
4026-fix-mail-callback.yml | ||
4048-expand-tilde-in-yarn-global-install-folder.yaml | ||
4050-properly-parse-json-lines-output-from-yarn.yaml | ||
4078-python_requirements_info.yaml | ||
4151-dconf-catch-psutil-nosuchprocess.yaml | ||
4154-ini_file_changed.yml | ||
4192-improve-passwordstore-consistency.yml |