SQ(1) User Commands SQ(1)

sq key adopt - Bind keys from one certificate to another

sq key adopt [OPTIONS] TARGET-KEY

Bind keys from one certificate to another.

This command allows one to transfer primary keys and subkeys into an existing certificate. Say you want to transition to a new certificate, but have an authentication subkey on your current certificate. You want to keep the authentication subkey because it allows access to SSH servers and updating their configuration is not feasible.

Emit binary data
Allow adopting keys from certificates using broken cryptography
Make adopted subkeys expire at the given time
Add the key or subkey KEY to the TARGET-KEY
Write to FILE or stdout if omitted
[default: -]
Add keys to TARGET-KEY or reads keys from stdin if omitted
[default: -]

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

Adopt an subkey into the new cert

sq key adopt --keyring juliet-old.pgp --key 0123456789ABCDEF \
juliet-new.pgp

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

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

0.35.0 (sequoia-openpgp 1.20.0)

0.35.0 Sequoia PGP