Man page - sq-key-subkey-password(1)
Packages contas this manual
- sq-key-expire(1)
- sq-version(1)
- sq-network-dane(1)
- sq-encrypt(1)
- sq-packet-decrypt(1)
- sq-network-search(1)
- sq-packet-join(1)
- sq-pki-authenticate(1)
- sq-key-userid-revoke(1)
- sq-key-list(1)
- sq-key-subkey-expire(1)
- sq-config(1)
- sq-keyring-merge(1)
- sq-network-wkd-search(1)
- sq-verify(1)
- sq-key-subkey(1)
- sq-inspect(1)
- sq-pki-vouch(1)
- sq-pki-link-list(1)
- sq-key-password(1)
- sq-key-subkey-bind(1)
- sq-key-subkey-delete(1)
- sq-packet-split(1)
- sq-key-subkey-export(1)
- sq-pki-link-retract(1)
- sq-config-inspect-network(1)
- sq-pki-lookup(1)
- sq-key-subkey-add(1)
- sq-decrypt(1)
- sq-pki-link-add(1)
- sq-key-approvals-update(1)
- sq-network-keyserver(1)
- sq-cert(1)
- sq-pki-vouch-authorize(1)
- sq-packet-dearmor(1)
- sq-pki-identify(1)
- sq-pki-vouch-add(1)
- sq-cert-import(1)
- sq-network-wkd(1)
- sq-key-subkey-password(1)
- sq-network-dane-search(1)
- sq-network-keyserver-search(1)
- sq-config-inspect-paths(1)
- sq-keyring-filter(1)
- sq-pki-vouch-list(1)
- sq-config-get(1)
- sq-network-wkd-publish(1)
- sq-network-dane-generate(1)
- sq-packet(1)
- sq-cert-export(1)
- sq-keyring-split(1)
- sq-config-inspect(1)
- sq-pki-link(1)
- sq-pki(1)
- sq-network-keyserver-publish(1)
- sq-key-approvals-list(1)
- sq-key-userid(1)
- sq-key-delete(1)
- sq-key-revoke(1)
- sq-key-approvals(1)
- sq-packet-armor(1)
- sq-key-generate(1)
- sq-key-export(1)
- sq-key(1)
- sq-pki-path(1)
- sq-network(1)
- sq(1)
- sq-download(1)
- sq-config-inspect-policy(1)
- sq-pki-vouch-replay(1)
- sq-cert-list(1)
- sq-packet-dump(1)
- sq-key-import(1)
- sq-config-template(1)
- sq-key-userid-add(1)
- sq-pki-link-authorize(1)
- sq-key-subkey-revoke(1)
- sq-sign(1)
- sq-cert-lint(1)
- sq-key-rotate(1)
- sq-keyring-list(1)
- sq-keyring(1)
apt-get install sq
Manual
| SQ(1) | User Commands | SQ(1) |
NAME
sq-key-subkey-password - Change the password protecting secret key material
SYNOPSIS
sq key subkey password [OPTIONS]
DESCRIPTION
Change the password protecting secret key material.
Secret key material can be protected by a password. This subcommand changes or clears the password of one or more keys.
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.
OPTIONS
Subcommand options
- --cert=FINGERPRINT|KEYID
- Change the password for the secret key material of the specified (sub)keys from the key with the specified fingerprint or key ID
- --cert-email=EMAIL
- Change the password for the secret key material of the specified (sub)keys from the key where a user ID includes the specified email address
- --cert-file=PATH
- Change the password for the secret key material of the specified (sub)keys from the key read from PATH
- --cert-userid=USERID
- Change the password for the secret key material of the specified (sub)keys from the key with the specified user ID
- --clear-password
- Clear the password protecting the secret key material
- --key=FINGERPRINT|KEYID
- Change the password protecting the specified key's secret key material
- --new-password-file=PASSWORD_FILE
- File containing password to encrypt the secret key material
- Note that the entire key file will be used as the password including any surrounding whitespace like a trailing newline.
- --output=FILE
- Write to FILE or stdout if omitted
Global options
See sq(1) for a description of the global options.
EXAMPLES
Change the password for Alice's signing key to the password in the specified file.
sq key subkey password --new-password-file=password-file.txt \
--cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
--key=42020B87D51877E5AF8D272124F3955B0B8DECC8
Clear the password protection for Alice's signing key.
sq key subkey password --password-file=password-file.txt \
--clear-password \
--cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
--key=42020B87D51877E5AF8D272124F3955B0B8DECC8
SEE ALSO
sq(1), sq-key(1), sq-key-subkey(1).
For the full documentation see <https://book.sequoia-pgp.org/>.
VERSION
1.3.1
| 1.3.1 | Sequoia PGP |