Page MenuHome GnuPG

Kleopatra: add "Smart Card" tab to certificate detail view
Closed, InvalidPublic

Description

The detailed view gets another tab with information from a private key stub-file.
Hint: T7019 should be done before this task.

  • This Tab shows only information if there exists a private key stub file for this key.
  • The stub file may contain references to several smart cards. Each reference is shown in a separate line.
  • In case a corresponding smart card is connected basic information for this smart card is shown.
  • A button "Open Smart Card Management" will open the separate (non modal) smart card window. See T7018.

Event Timeline

alexk triaged this task as Normal priority.Feb 27 2024, 3:03 PM
alexk created this task.
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Mar 12 2024, 1:10 PM

While reviewing the changes I had some doubt about some of the columns.

Keygrip: Is this useful information? The key grip is mostly internal information. It identifies the subkey, but we usually use the fingerprint for this.

Token: The mock-up shows the raw data from the private keys file. I doubt that this is useful. Tobias changes just show the raw serial number. But that's also shown in the 4th column. Just in a much easier to digest form. By the way, the 4th item in the "Token" string of the second key is the percent-plus-encoded display serial number.

I propose:

  • Merge Token column and Serial Number column and show display serial number with raw serial number as fallback.
  • Add card slot (key ref) column if we think this information is useful. I don't think it's really useful here. The user could switch to the smart card details view if they really want to know this information.

On more thing: I just realized that this information is pretty useless for my test environment because I have recreated keys for my test tokens so often that almost all of this information will be a lie.

looking at my private key directory, the data for the display serial number seems to not always be there FWIW.

  • Merge Token column and Serial Number column and show display serial number with raw serial number as fallback.

Do you mean showing the raw serial number in the same column if the display serial number is not available? I'm a bit sceptical about that, as it would lead to showing a different kind of data in the same column

It's not a different kind of data. In both cases it's the serial number of the smart card either in human readable form (often as printed on the smart card/USB token) or in "untranslated" raw form. It's a bit like short Git hash vs. full Git hash.

TobiasFella changed the task status from Open to Testing.Apr 16 2024, 10:20 AM

Checked in Version 3.2.2.2405000+git~ (Gpg4win-4.3.2-beta41):
Looks ok to me.

Regarding the token/serial number issue: I do not understand it. Is it ok as implemented?

noticed testing T7128: The Token is very long. Is the serial number not unique? That one is much shorter and therefore better to handle visually

to document the answer to my own question: The serial number is unique for the manufacturer, e.g. Yubico. But serial numbers of devices of different manufacturers might have the same serial numbers, although it is unlikely.

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

It was decided to remove the tab again: T7249: Kleopatra: Remove tab "Smartcard" in the certificate details window, so its gone in 4win-Beta-64

ebo removed projects: vsd33, Restricted Project.Tue, Oct 29, 11:51 AM