Code Monkey home page Code Monkey logo

Comments (11)

saturneric avatar saturneric commented on June 3, 2024

To troubleshoot, you can navigate to the Settings and select the specified button to locate the logs directory. GpgFrontend does not alter your key data directly; instead, it interfaces with the GpgME library, which is developed and maintained by the GnuPG group. Therefore, it is unexpected for such an issue to occur.

image image

from gpgfrontend.

jarromie avatar jarromie commented on June 3, 2024

On my machine (Windows), it only has a button where you described to delete all logs; nothing to open the directory.

image

The app is installed via Microsoft Store, if that helps. I have no idea where the application's data winds up at, it's not in Program Files like I would expect a native app to install to, and I didn't see it in %APPDATA% either.

from gpgfrontend.

jarromie avatar jarromie commented on June 3, 2024

After another couple restarts during my search for the logs button, now even all of my public keys, besides for one (which had already lost the private key), have also disappeared from the side menu and the Manage Keys window.

from gpgfrontend.

saturneric avatar saturneric commented on June 3, 2024

The version of this application currently available on the Microsoft Store is v2.1.1. However, you can access the latest portable version (v2.1.2) by downloading it from HERE. Please try this version to see if the issue persists.

Exactly: GpgFrontend-2.1.2-qt6-windows-x86_64-portable.zip

from gpgfrontend.

jarromie avatar jarromie commented on June 3, 2024

This issue seems to be fixed using the portable version. Before closing the issue, where can I find my private key storage, so that I can back them up? The application will not allow me to export my secret keys.

from gpgfrontend.

saturneric avatar saturneric commented on June 3, 2024

Thank you for bringing this to my attention. I'm pleased to inform you that GpgFrontend in the MS Store has been updated to version 2.1.2. I recommend updating to this latest version, which should address the issue you've encountered with exporting your secret keys.

Regarding your question about backing up your private keys, GnuPG stores the key database in the .gnupg folder located in your user's home directory. On Windows, this typically corresponds to C:\Users\<YourUserName>\.gnupg. You can manually copy this folder to another location to back up your keys.

Additionally, GpgFrontend offers a KeyPackage feature, which I can use to easily backup and restore your keys. This feature is designed to simplify the process of managing your keys, especially when transitioning between different machines or ensuring that your keys are safely stored.

from gpgfrontend.

jarromie avatar jarromie commented on June 3, 2024

There is no .gnupg folder in my C:\Users\admin\ folder. I will test and see if exporting private keys is fixed, and report back momentarily.

from gpgfrontend.

saturneric avatar saturneric commented on June 3, 2024

There is no .gnupg folder in my C:\Users\admin\ folder. I will test and see if exporting private keys is fixed, and report back momentarily.

My fault. On Windows, all GPG keys are stored in the "keyring", which is at ~/. gnupg or %AppData%/gnupg . You can check %AppData%/gnupg.

from gpgfrontend.

jarromie avatar jarromie commented on June 3, 2024

After a PC restart (assuming this restarted with the gnupg service), the keys are visible again in GpgFrontend. Upon clicking Show Key Details the first few times, it still said Primary Key Existence: Not Exists, but allowed me to decrypt messages. After opening the window a few more times, it decided it now Exists, but exporting keys in the client still did not seem to work.

Upon clicking Export Private Key -> Export Full Secret Key, it prompts me with the window pictured below, and then after pressing OK, it asks for a password. Regardless of whether I enter the correct or incorrect password, nothing seems to happen.

image

Aside from that, I am still searching for my keyring; there is no folder located at %APPDATA%\gnupg or %LOCALAPPDATA%\gnupg. Based on the documentation, the --homedir variable can be used to set a custom home environment for gnupg, where the keyring should be stored, which otherwise defaults to the environmental variable GNUPGHOME (which was not set on my system), or the registry entry HKCU\Software\GNU\GnuPG:HomeDir., which also does not exist on my system (there is nothing about GNU anywhere in HKCU\Software\).

Finally, after much searching, I found the gnupg folder, as well as the keyrings, packaged inside of the application data folder for GpgFrontend, which was painfully difficult to locate and obnoxiously named (due to having installed via Microsoft Store --- I have no clue why they insist on this god awful directory naming convention). If you're wondering, the location: %APPDATA%\Local\Packages\15599Saturneric.GpgFrontend_cmzh4yccza0qa\LocalCache\Roaming\gnupg\

Anyways, I suppose you could close this issue and create a new one in relation to the issues exporting private keys, or we can continue to debug here; I'm happy to help, if you don't have access to a Windows machine.

from gpgfrontend.

saturneric avatar saturneric commented on June 3, 2024

Thank you very much for bringing these issues to our attention. It seems that the challenges you've encountered might be related to the sandboxing mechanisms employed by the Windows platform, especially for applications distributed through the Microsoft Store. This sandboxing can affect how applications access, store, and manage files, leading to the behavior you've experienced.

I appreciate your detailed account, which has highlighted these issues that I previously hadn't encountered, as my development work has been primarily focused on the macOS platform. Your input is invaluable, and I will conduct a thorough review and verification process to better understand these phenomena and work towards a resolution.

from gpgfrontend.

saturneric avatar saturneric commented on June 3, 2024

I have recorded all issues mentioned here and will continue to work on them. So I 'm now planing to close this issue cause the main issue had allready been solved.

from gpgfrontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.