SQ(1) User Commands SQ(1)

sq key userid add - Add a user ID

sq key userid add [OPTIONS]

Add a user ID.

A user ID can contain a name, like `Juliet`, or an email address, like `<juliet@example.org>`. Historically, a name and an email address were usually combined as a single user ID, like `Juliet <juliet@example.org>`. However, user IDs that include different information such as name and email address are more difficult to reason about, so using distinct user IDs for name and email address is preferred nowadays.

`sq userid add` respects the reference time set by the top-level `--time` argument. It sets the creation time of the user ID's binding signature to the specified time.

Don't reject user IDs that are not in canonical form.
Canonical user IDs are of the form `Name (Comment) <localpart@example.org>`.
Emit binary data
Add the user ID to the specified certificate
Add the user ID to the specified certificate
Add an email address as user ID to the key
Add a name as user ID to the key
Write to the specified FILE.
If not specified, and the certificate was read from the certificate store, imports the modified certificate into the cert store. If not specified, and the certificate was read from a file, writes the modified certificate to stdout.

Add a user ID to the key.

This user ID can combine name and email address, can optionally contain a comment, or even be free-form if `--allow-non-canonical-userids` is given. However, user IDs that include different information such as name and email address are more difficult to reason about, so using distinct user IDs for name and email address is preferred nowadays.
In doubt, prefer `--name` and `--email`.

See sq(1) for a description of the global options.

Add a new user ID to Alice's key.

sq key userid add --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0 --name Alice \
--email alice@work.example.com

sq(1), sq-key(1), sq-key-userid(1).

For the full documentation see https://book.sequoia-pgp.org.

0.38.0 (sequoia-openpgp 1.21.2)

0.38.0 Sequoia PGP