Page MenuHome GnuPG

Kleopatra: Disable backup secret key for smartcards
Testing, NormalPublic

Description

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.Fri, Apr 29, 1:04 PM
aheinecke created this task.
ikloecker changed the task status from Open to Testing.Fri, May 6, 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: Testing.
ikloecker added a subscriber: ikloecker.

Fixed.

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.