-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signing commits with GPG key is broken #105
Comments
Hey @GeoffreyCoulaud, today I tried to make this works on gnome but doesn't work (works out of the box on KDE without change anything). And after another research I found this flatpak/flatpak#2301 since there isn't a clean solution for this problem until flatpak get a proper handle to talk with |
Hello @noonsleeper, I just wanted to let everyone know that flatpak/flatpak#2301 is closed for some time now as completed via flatpak/flatpak#4958. It was released in Flatpak 1.14.0. |
How does this work OOTB on KDE? I run Fedora 38 KDE, and still run into this issue. After I've set the "Filesystem access" for "xdg-run/gnupg" to "Read/write" it didn't complain anymore about not finding a GPG agen anymore, but now it complains about |
@madpipeline So, GNOME keyring has built-in support for storing GPG keys but I don't know if KWallet does. I think it should still be possible to configure a sudo dnf install pinentry-qt Then configure the mkdir ~/.gpupg
echo "pinentry-program /usr/bin/pinentry-qt" | tee -a ~/.gnupg/gpg-agent.conf Now see if you get a pop-up to enter your passphrase when you attempt to sign a commit. |
I run into the same My vscodium don't have system file access, only to my project folder, so I also give the access to I have seen other apps package flatpak/freedesktop-sdk-images#70 More info here: flathub/com.visualstudio.code#56 |
Okay, so I got the signing working using an existing with the following permissions:
I also have
and
The rest of the permission is left as default or irrelevant. I think the passphrase is stored in password manager, hence codium did not prompt me for passphrase. I was able to sign using an existing key in |
This is basically the same as #53.
When trying to make a git commit from inside vscodium, if the GPG key needs a passphrase the prompt can't show up.
The solution proposed on the closed issue is a set of scripts that will
flatpak-spawn
the host's gpg program.However, maybe we should handle this more cleanly ? A hack discoverable by going to the github is not really user friendly...
The text was updated successfully, but these errors were encountered: