| 1 |
[hokey-lint] |
| 2 |
flags = keys |
| 3 |
apt = hopenpgp-tools |
| 4 |
files = *.pgp *.gpg |
| 5 |
types = application/x-pgp-keyring |
| 6 |
command = cat {files} | hokey lint |
| 7 |
comment = |
| 8 |
If you contact the owners of these keys, please point out OpenPGP best practices: |
| 9 |
https://help.riseup.net/en/security/message-security/openpgp/best-practices |
| 10 |
|
| 11 |
[hokey-lint-asc] |
| 12 |
flags = keys |
| 13 |
apt = hopenpgp-tools |
| 14 |
files = *.asc |
| 15 |
command = cat {files} | hot dearmor | hokey lint |
| 16 |
comment = |
| 17 |
If you contact the owners of these keys, please point out OpenPGP best practices: |
| 18 |
https://help.riseup.net/en/security/message-security/openpgp/best-practices |
| 19 |
|
| 20 |
[pgp-private-key] |
| 21 |
flags = keys |
| 22 |
command = grep -rPzl '(?s)-----BEGIN PGP PRIVATE KEY BLOCK-----.*-----END PGP PRIVATE KEY BLOCK-----' . |
| 23 |
|
| 24 |
[insecure-recv-keys] |
| 25 |
flags = keys |
| 26 |
comment = Only ever use the full fingerprint when downloading keys |
| 27 |
command = grep -nHrP '\b(?:apt-key|gpg2?)\b.*--recv(-keys?)?\s+(0x)?[0-9a-fA-F]{{1,31}}\b' . |
| 28 |
|
| 29 |
# vim:ft=dosini |