SQ(1) | User Commands | SQ(1) |
sq key password - Change the password protecting secret key material
sq key password [OPTIONS]
Change the password protecting secret key material.
Secret key material can be protected by a password. This subcommand changes or clears the password.
To strip the password either use `--clear` or supply a zero-length password when prompted for the new password.
If a key is password protected, and the correct password was not supplied using the `--password-file` argument, the user is prompted for the password. Likewise, if the new password isn't provided, the user is prompted.
See sq(1) for a description of the global options.
Change the password for all of Alice's keys to the password in the specified file.
sq key password --new-password-file password-file.txt --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0
Clear the password protection for all of Alice's keys.
sq key password --password-file password-file.txt \
--clear-password --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0
sq(1), sq-key(1).
For the full documentation see <https://book.sequoia-pgp.org>.
0.40.0 (sequoia-openpgp 1.21.2)
0.40.0 | Sequoia PGP |