SQ-KEYRING-LINTER(1) | User Commands | SQ-KEYRING-LINTER(1) |
sq-keyring-linter - sq-keyring-linter
sq-keyring-linter 0.4.0
`sq-keyring-linter' checks for and optionally repairs OpenPGP certificates that use SHA-1.
-e, --export-secret-keys
-f, --fix
-h, --help
-k, --list-keys
-q, --quiet
-V, --version
-p, --password <password>...
`sq-keyring-linter' checks the supplied certificates for the following SHA-1-related issues:
Diagnostics are printed to stderr. At the end, some statistics are shown. This is useful when examining a keyring. If `--fix' is specified and at least one issue could be fixed, the fixed certificates are printed to stdout.
This tool does not currently support smart cards. But, if only the subkeys are on a smart card, this tool may still be able to partially repair the certificate. In particular, it will be able to fix any issues with User ID self signatures and subkey binding signatures for encryption-capable subkeys, but it will not be able to generate new primary key binding signatures for any signing-capable subkeys.
If `--fix' is not specified, then the exit status is 2, if any issues are found, and 0 otherwise. If `--fix' is specified, then the exit status is 3, if any issues could not be fixed, and 0 if there were no issues or all issues were fixed.
To gather statistics, simply run:
To fix a key:
-p password123 | gpg --import
To get a list of keys with issues:
something; done
sq-keyring-linter's homepage: <https://gitlab.com/sequoia-pgp/keyringlinter>
November 2020 | sq-keyring-linter 0.4.0 |