SQ(1) User Commands SQ(1)

sq key adopt - Bind keys from one certificate to another

sq key adopt [OPTIONS]

Bind keys from one certificate to another.

This command allows the user to attach a primary key or a subkey attached to one certificate to another certificate. Say you want to transition to a new certificate, but have an authentication subkey on your current certificate that you want to keep because it allows access a server and updating its configuration is not feasible. This command makes it easy to attach the subkey to the new certificate.

Allow adopting keys from certificates using broken cryptography
Emit binary data
Add keys to the specified certificate
Add keys to the specified certificate
Make adopted subkeys expire at the given time
Add the key or subkey KEY to the certificate
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.

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

Have Alice's new certificate adopt Alice's old authentication subkey.

sq key adopt --cert C5999E8191BF7B503653BE958B1F7910D01F86E5 \
--key 0D45C6A756A038670FDFD85CB1C82E8D27DB23A1

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

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

0.38.0 (sequoia-openpgp 1.21.2)

0.38.0 Sequoia PGP