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.
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.
rKLEOPATRA Kleopatra | |||
rKLEOPATRA34e1d88d6d8b Add missing include | |||
rKLEOPATRAbd71828fb9c2 Fix evaluation of NeedSecretKey flag | |||
rKLEOPATRAf5e94b6eb68d Remove unused MustNotBeSecretKey flag | |||
rKLEOPATRA396629a207e3 Convert values of Restriction enum to hex literals | |||
rKLEOPATRA2914efb4769e Fix enable state of commands that need access to the secret key data |
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.