Provided by: sq_0.27.0-2_amd64 bug

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)