Page MenuHome GnuPG

Deleting multiple keys with secret keys fails as normal user with no Administrator privileges
Closed, InvalidPublic

Description

Way to reproduce:

  1. At Windows 10 latest version, Install GPG4Win 4.2.0 as a normal user without Administrator privileges. Or even install as a normal user but right click and install "Run as Administrator" to get context menu options installed.
  1. Create or import multiple certificates (keys with secret keys)
  1. In Kleopatra choose multiple certificates (keys with secret keys) and Delete

The process starts and Kleopatra asks if it is ok to delete the (secret) keys, but then it hangs. Nothing shows up in the debug log, propably because the process hangs and does not finish without killing it.

The same process as an administrator works correctly and all keys are deleted.

Details

Version
4.2.0

Event Timeline

aheinecke triaged this task as Low priority.EditedSep 11 2023, 9:15 AM
aheinecke added a subscriber: aheinecke.

The way how you install it can have nothing to do with that, it must be a different issue, but it sounds to me like you are messing with privileges a bit too much. Did you ever receive the warning of Kleopatra that you are running it as Administrator and that will mess up the rights in your GnuPG folder? Be honest. :)

kgnupg raised the priority of this task from Low to High.Sep 11 2023, 9:32 AM

Thank you for your time and your answer, we really do appreciate your work. We invested in this in hope to help make the software better. Please try it, so you will see how it works. We were able to reproduce the problem the way I described. When installed as a normal user it won't work. Installed as an Administrator user it works. So the more secure way does not work currently.

I mentioned the "Run as Administrator" in installing because there is another bug, that GPG4Win does not install context menu (Encrypt and Sign with right mouse click) unless you start the installer with that when installing as normal user. You can do with or without when testing.

orabelle changed the task status from Open to Testing.Nov 9 2023, 2:49 AM
orabelle added a subscriber: orabelle.
This comment was removed by aheinecke.
aheinecke changed the task status from Testing to Open.Nov 9 2023, 5:25 AM

Uhm this is a task I have with High priority. I do not know what to do here or what it is really about. -> Invalid.