NAME
sq key adopt - Bind keys from one certificate to another
SYNOPSIS
sq key adopt [OPTIONS] TARGET-KEY
DESCRIPTION
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.
OPTIONS
Subcommand
options
-B, --binary
Emit binary data
--allow-broken-crypto
Allow adopting keys from certificates using broken cryptography
--expire=KEY-EXPIRATION-TIME
Make adopted subkeys expire at the given time
-k, --key=KEY
Add the key or subkey KEY to the TARGET-KEY
-o, --output=FILE
Write to FILE or stdout if omitted
TARGET-KEY
Add keys to TARGET-KEY or reads keys from stdin if omitted
Global
options
See sq(1) for a description of the global
options.
EXAMPLES
Adopt an subkey into the new cert
sq key adopt --keyring juliet-old.pgp --key 0123456789ABCDEF \
juliet-new.pgp
SEE ALSO
For the full documentation see <https://book.sequoia-pgp.org>.
VERSION
0.34.0 (sequoia-openpgp 1.19.0)