Failed signing (gpg2) using Flatpak
See original GitHub issueDescribe the bug
error: cannot run gpg2: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object
Version & OS
Version 2.9.0-linux4 (x64) flatpak
Fedora 29
Steps to reproduce the behavior
- Setup
git config
to sign commits - Open a repo in GitHub Desktop
- Make some changes
- Commit
Expected behavior
A signed commit should be created
Actual behavior
Commit fails, as the flatpak version seems to be lacking permission to gpg2
(maybe just gpg
on some systems).
Screenshots
Logs
Attach your logs by opening the Help
menu and selecting Show Logs...
, if applicable.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Cannot GPG sign a commit with the flatpak version of Intellij
so I tried adding the gpg-no-tty.sh script as described but still no success. The prompt for the GPG passphrase appears in an OS...
Read more >GPG failed to sign the data · Issue #21 · flathub/com.vscodium ...
Issue Seems Vscodium has issues signing git commits with local gpg keys. ... -S error: gpg failed to sign the data fatal: failed...
Read more >1943288 – Flatpak applications don't start gpg-agent when ...
Open a flatpak application that can use PGP Signing with gpg 3. Try to sign a commit, or an e-mail, etc 4. It...
Read more >GPG pin-entry broken after reinstall - Manjaro Linux Forum
When I try committing with Git, it returns: error: gpg failed to sign the data fatal: failed to write commit object.
Read more >Se encontraron firmas GPG, pero ninguna está en un llavero ...
Flatpak marca error - Se encontraron firmas GPG, pero ninguna está en un ... Signature made mar 14 ene 2020 16:07:58 CST using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We don’t ship gpg in the flatpak. I’ll add it to the build.
How would I do that? I’m sorry, I’m not very good at Linux CLI.