sq-key-adopt - Man Page

Binds keys from one certificate to another

Synopsis

sq key adopt [Options] TARGET-KEY

Description

Binds 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

Emits binary data

--allow-broken-crypto

Allows adopting keys from certificates using broken cryptography

--expire=KEY-EXPIRATION-TIME

Makes adopted subkeys expire at the given time

-k, --key=KEY

Adds the key or subkey KEY to the TARGET-KEY

-o, --output=FILE

Writes to FILE or stdout if omitted

TARGET-KEY

Adds 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

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

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

Version

0.34.0 (sequoia-openpgp 1.19.0)

Referenced By

sq-key(1).

0.34.0 Sequoia PGP