Page MenuHome GnuPG

Kleopatra: Disable backup secret key for smartcards
Closed, ResolvedPublic


While testing I noticed that "backup secret key" action is both enabled in the context menu and in the file menu for smartcard keys.

It then leads to an error that the backup is empty. But it is a bit ugly that it is enabled in the first place.

Event Timeline

aheinecke triaged this task as Normal priority.Apr 29 2022, 1:04 PM
aheinecke created this task.
ikloecker changed the task status from Open to Testing.May 6 2022, 10:10 AM
ikloecker removed ikloecker as the assignee of this task.
ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker added a project: Restricted Project.
ikloecker added a subscriber: ikloecker.


For the same reasons "Print Secret Keys..." is now also disabled for keys stored on smart cards. No other command seems to require access to the secret key data.

I have also fixed the enabled state of commands that perform secret key operations. Previously, those commands where also enabled if just the secret key stub of an offline key was available.

werner removed a project: Restricted Project.Sep 22 2022, 11:03 AM
ebo claimed this task.
ebo added a subscriber: ebo.