sq key generate [FLAGS] [OPTIONS]
- -u, --userid
EMAIL
- Adds a userid to the key
- -c, --cipher-suite
CIPHER-SUITE
- Selects the cryptographic algorithms for the key [default: cv25519]
[possible values: rsa3k, rsa4k, cv25519]
- --expires
TIME
- Makes the key expire at TIME (as ISO 8601). Use "never" to
create keys that do not expire.
- --expires-in
DURATION
- Makes the key expire after DURATION. Either "N[ymwd]", for N
years, months, weeks, or days, or "never".
- --can-encrypt
PURPOSE
- Adds an encryption-capable subkey. Encryption-capable subkeys can be
marked as suitable for transport encryption, storage encryption, or both.
[default: universal] [possible values: transport, storage, universal]
- -e, --export
OUTFILE
- Writes the key to OUTFILE
- --rev-cert FILE or
-
- Writes the revocation certificate to FILE. mandatory if OUTFILE is
"-". [default: <OUTFILE>.rev]
- # First, this generates a key
- $ sq key generate --userid "<juliet@example.org>"
--export juliet.key.pgp
- # Then, this extracts the certificate for distribution
- $ sq key extract-cert --output juliet.cert.pgp juliet.key.pgp
- # Generates a key protecting it with a password
- $ sq key generate --userid "<juliet@example.org>"
--with-password
- # Generates a key with multiple userids
- $ sq key generate --userid "<juliet@example.org>"
--userid "Juliet Capulet"
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-keyring(1), sq-keyring-filter(1), sq-keyring-join(1), sq-keyring-list(1),
sq-keyring-merge(1), sq-keyring-split(1), sq-packet(1), sq-sign(1),
sq-verify(1)
Azul <azul@sequoia-pgp.org>
Igor Matuszewski <igor@sequoia-pgp.org>
Justus Winter <justus@sequoia-pgp.org>
Kai Michaelis <kai@sequoia-pgp.org>
Neal H. Walfield <neal@sequoia-pgp.org>
Nora Widdecke <nora@sequoia-pgp.org>
Wiktor Kwapisiewicz <wiktor@sequoia-pgp.org>