saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
456 stars 43 forks source link

Export Private Key (full) does not work #104

Closed Plagouille closed 1 year ago

Plagouille commented 1 year ago

Exporting a full private key does not work, no dialog box opens to save the key.

It is ok with the short private key.

saturneric commented 1 year ago

Issue solved at new version.

tarper24 commented 10 months ago

Hi @saturneric

I'm running into this issue with the latest v2.1.1 on Windows. I can export Full private key if there is no password, but if there is a password, no file dialog opens after entering the password.

I can also export the short private key. It doesn't ask for a password and just opens the file dialog I just checked, and exporting the short secret key is actually just exporting the public key, which seems to be why it doesn't ask for a password

saturneric commented 10 months ago

Hi @saturneric

I'm running into this issue with the latest v2.1.1 on Windows. I can export Full private key if there is no password, but if there is a password, no file dialog opens after entering the password.

~I can also export the short private key. It doesn't ask for a password and just opens the file dialog~ I just checked, and exporting the short secret key is actually just exporting the public key, which seems to be why it doesn't ask for a password

Did you use this secret key to do some operations and had already given its password?

tarper24 commented 10 months ago

Did you use this secret key to do some operations and had already given its password?

I tried with and without doing this. The password prompt shows whether the password is in the cache or not, and once entered, nothing happens. No file dialog

saturneric commented 10 months ago

Did you use this secret key to do some operations and had already given its password?

I tried with and without doing this. The password prompt shows whether the password is in the cache or not, and once entered, nothing happens. No file dialog

It may be a bug and I will try to figure out it. Please try to check Use pinentry as Password Input Dialog at GnuPG Controller this time.

tarper24 commented 10 months ago

It may be a bug and I will try to figure out it. Please try to check Use pinentry as Password Input Dialog at GnuPG Controller this time.

Using Pinentry worked after restarting the application! Thank you 😄