sq-key-password(1)
Changes password protecting secrets
Description
password
NAME
password - Changes password protecting secrets
SYNOPSIS
password [-o|--output] [--clear] [-B|--binary] [-h|--help] [FILE]
DESCRIPTION
Changes password protecting secrets
Secret key material in keys can be protected by a password. This subcommand changes or clears this encryption password.
To emit the key with unencrypted secrets, either use ‘--clear‘ or supply a zero-length password when prompted for the new password.
OPTIONS
-o, --output=FILE
Writes to FILE or stdout if omitted
--clear
Emit a key with unencrypted secrets
-B, --binary
Emits binary data
-h, --help
Print help information
[FILE]
Reads from FILE or stdin if omitted
EXAMPLES
First, generate a key
sq key generate --userid "<juliet@example.org>" --export juliet.key.pgp
Then, encrypt the secrets in the key with a password.
sq key password < juliet.key.pgp > juliet.encrypted_key.pgp
And remove the password again.
sq key password --clear < juliet.encrypted_key.pgp > juliet.decrypted_key.pgp
SEE ALSO
For the full documentation see <https://docs.sequoia-pgp.org/sq/>.
sq(1) sq-armor(1) sq-autocrypt(1) sq-certify(1) sq-dearmor(1) sq-decrypt(1) sq-encrypt(1) sq-inspect(1) sq-key(1) sq-key-adopt(1) sq-key-attest-certifications(1) sq-key-extract-cert(1) sq-key-generate(1) sq-key-userid(1) sq-keyring(1) sq-keyserver(1) sq-packet(1) sq-revoke(1) sq-sign(1) sq-verify(1) sq-wkd(1)
See Also
- sq(1)
- armor(1)
- autocrypt(1)
- certify(1)
- dearmor(1)
- decrypt(1)
- encrypt(1)
- inspect(1)
- key(1)
- adopt(1)
- certifications(1)
- cert(1)
- generate(1)
- userid(1)
- keyring(1)
- keyserver(1)
- packet(1)
- revoke(1)
- sign(1)
- verify(1)
- wkd(1)