mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-09 20:20:31 -07:00
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 | ||
3703-force-install-homebrew-cask.yml | ||
3907-pacman-speedup.yml | ||
3916-fix-vdo-options-type.yml | ||
4029-proxmox-refactor.yml | ||
4105-opentelemetry_plugin-enrich_jira_hetzner_jenkins_services.yaml | ||
4106-proxmox-efidisk0-support.yaml | ||
4136-gitlab_runner-make-project-owned-mutually-exclusive.yml | ||
4150-gitlab-project-variable-absent-fix.yml | ||
4151-dconf-catch-psutil-nosuchprocess.yaml | ||
4154-ini_file_changed.yml | ||
4168-add-keycloak-url-timeout.yml | ||
4191-proxmox-add-win11.yml | ||
4192-improve-passwordstore-consistency.yml |