Page MenuHome GnuPG

Kleopatra: make details clear for keys with multiple locations
Testing, NormalPublic

Description

With the current Beta the mapping of subkeys on disk to keys on card is not really possible.
(The screenshots are for a simple key, imagine one with a lot of subkeys.)

Key only stored on Smart card:

Same key after import of secret key backup:

and on the smart card tab, card disconnected:

Proposal:

In main area of Details Window:
Change "Secret key" location info to "on this computer and on smartcard(s)" and leave the smart card identifier off in this place. (It can be found in the smartcard tab.)

For Smartcard Tab:

  • Add Fingerprint column
  • Make Keygrip column default hidden

For Subkey Tab:

  • Make Fingerprint column default
  • Make Key-ID column hidden
  • Add hidden keygrip column

Details

Version
VS-Desktop-3.2.93.391-Beta

Event Timeline

ebo triaged this task as Normal priority.May 17 2024, 12:07 PM
ebo created this task.
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
TobiasFella changed the task status from Open to Testing.Jun 6 2024, 11:35 AM

tested with Version 3.2.2.2405000+git~ (Gpg4win-4.3.2-beta41)

This looks nice.

I see one issue which might pop up in support in the future, but can't be changed because of the way gpg works.
For future reference:
The case "secret key exists locally, and then a smart card is inserted with the same certificate on it" does not link the smart card to the certificate in the details view. The smart card tab remains empty, location is "on this computer". In spite of the link to the details in the smart card view linking to this same entry.
This is because there can not be a stub file created if a keyfile already exists.

The other way round works and will show "On this computer and on a smart card" if the certificate was known before.

The case "no certificate for smart card key in keyring, attach smart card (-> "on Smart card"), import certificate" then results in "offline" for the primary and "unknown" for the subkey. Smart card tab is empty in that case:

Only after calling "gpg-card checkkeys" on the command line, this will change to "Smartcard very-long-token-number".
The last might be something in the scope of this ticket. Or not…

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 1 2024, 3:55 PM
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 29 2024, 11:25 AM