Warn about short key IDs when using ansible.builtin.apt_key module #2947
Unanswered
KamilaBorowska
asked this question in
New rules
Replies: 1 comment 1 reply
-
I can't answer for ansible-lint maintainers but I'm a little bit puzzled by this. I guess adding a rule should not be hard and PR are welcome, but I'm not sure what's the value of adding a rule for something deprecated in Debian/Ubuntu. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ansible-lint should warn when using 32-bit key IDs (8 characters) in apt_key module as they are insecure due to their length (https://evil32.com/). For example:
This can be written as follows:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_key_module.html recommends against this practice: "Use full fingerprint (40 characters) key ids to avoid key collisions."
Beta Was this translation helpful? Give feedback.
All reactions