In the certificate view add an function to copy a chosen key to a smartcard, via context menu or "Certificates" menu.
Below is an example of a possible dialog screen for discussion. Text in {brackets} are comments.
# Simple transfer of an OpenPGP key to a smartcard
Only suitable for standard keys.
{The following information might be behind an info button or something}
Info on preconditions:
- The primary key is suitable for signatures and certifications.
- There is exactly one subkey for encryption.
- Optionally, there is exactly one additional subkey for authentication. This is also transferred to the card.
- An OpenPGP-compatible smartcard is connected and the corresponding slots are empty.
{information end}
Your chosen Key
Fingerprint: XXXXXXX
Primary User-ID: Xxxxx <xxx@xxxx.xx>
{Error Block start, only shown in case of a problem}
The following condition(s) are not met: {Only the missing conditions are displayed, but all misses on the first three}.
- The primary key does not have the Sign and Certify properties.
- There is no subkey for encryption.
- There are too many other subkeys.
- No smartcard was recognized.
- The OpenPGP slots on the smartcard are not empty.
/\ An automatic transfer is not possible. {this /\ is an alert symbol}
[OK]
{error block end}
{alternative postive continuation}
All conditions are met.
To proceed choose one of the following options:
( ) Delete key from disk.
( ) Make a backup of the secret key to file.
( ) Make a print backup. (Paperkey)
( ) I already have a backup of the secret key.
( ) Keep key on disk.
[Apply] [Cancel]By default there is no option preselected.
But there should be a configuration parameter in the config file or registry to preselect an option and make it unchangeable.


