oct-admin-import(1) General Commands Manual oct-admin-import(1)

oct-admin-import - Import a Key onto the card

oct admin import [-s|--sig-fp] [-d|--dec-fp] [-a|--aut-fp] [--key-passphrase] [-h|--help] <KEYFILE>

Import a Key onto the card.

Most keys can be imported without specifying subkey fingerprints. However, if the key contains more than one signing, decryption or authentication capable subkey, subkeys must be explicitly selected.

If any of the options is given, only the selected subkeys are imported into the selected slots.

Subkey capabilities must match the slot the key is imported into. The DEC slot can only be used for encryption capable subkeys. The SIG and AUT slots can be used for signing, certification and authentication capable subkeys.

Optionally, select the subkey to import in the SIG slot
Optionally, select the subkey to import in the DEC slot
Optionally, select the subkey to import in the AUT slot
Optionally, provide a passphrase for encrypted secret key material in a file
Print help (see a summary with '-h')
<KEYFILE>
File that contains the PGP private key
oct-admin-import