desktop: Failed signing (gpg2) using Flatpak
Describe 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 configto 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.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (3 by maintainers)
We don’t ship gpg in the flatpak. I’ll add it to the build.