Sponsor:

Your company here, and a link to your site. Click to find out more.

sq-key-adopt - Man Page

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

[default: -]

TARGET-KEY

Add keys to TARGET-KEY or reads keys from stdin if omitted

[default: -]

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.35.0 (sequoia-openpgp 1.20.0)

Referenced By

sq-key(1).

0.35.0 Sequoia PGP