1,810 questions
Advice
0
votes
1
replies
37
views
Using gpg in docker build step, is there an easier way or option to autokill the agent?
if I import a gpg key during Docker build, it starts a gpg-agent and keyboxd process, which then get terminated abruptly and do not clean up their lock files. So if I then try to interact with gpg ...
4
votes
0
answers
196
views
How to make GPG make a GUI password popup when doing the Git commit signing
Every time when I was doing the GPG signed git commit (e.g. git commit -S -s -m "test"), the password prompt is in the CLI console. The password prompt before was a proper GUI pop up window ...
0
votes
0
answers
35
views
Git commit signing fails with "gpg: skipped ... No secret key" even after generating a key [duplicate]
I'm trying to set up Git to sign my commits using GPG on Windows, but I keep getting this error when committing:
gpg: skipped "CD01EE27925BFE93": No secret key
gpg: signing failed: No secret ...
1
vote
1
answer
79
views
GPG Password Screen does not allow submitting password when using Git
I'm using a GPG Personal Access token to sign my commits. The token is not expired (I checked this first), and has all the right repo scopes to allow for a commit.
When I pull using git pull <...
-1
votes
1
answer
68
views
How to automate signing for RPM distributions?
Using rpm apt package to sign an rpm file. I use gpg to sign it and I have the passphrase in env stored in .bashrc.
How to automate signing it? Note that the script is running in cloud server with no ...
0
votes
0
answers
106
views
Docker compose credential error (after succesful docker login)
On Linux, using Docker daemon:
$ docker --version
Docker version 28.0.4, build b8034c0ed7
$ docker compose version
Docker Compose version 2.35.0
$ docker login -u <uid>
i Info → A Personal ...
0
votes
0
answers
30
views
I need to decrypt GPG files but giving me blank output
I have created a web application (MVC C#) just to decrypt a GPG file on a Windows server.
The problem is when I test the web application program on my laptop it's working fine.
But when I deploy it to ...
0
votes
0
answers
81
views
Set up a homedir for git commit signing and verification without using GNUPGHOME env var
Premise
I use Gpg4Win on my windows 11 system to perform git commit signing and verification. I prefer to store my work related keys in a separate homedir or home-directory so as to keep them separate ...
0
votes
0
answers
187
views
Python GnuPG - Cannot allocate memory issue
Intermittently getting cannot allocate memory error while decrypting a file via python gnupg package
To Reproduce
Initialize the gpg agent and decrypt the file :
gpg_obj = gnupg.GPG(gnupghome=os.path....
0
votes
0
answers
44
views
copied my .gnupg folder from one installation to another, can no longer list or use keys
I was switching from Gentoo to Arch Linux, and I needed to save my pgp keys, so I copied my .gnupg folder to an external hard drive. After I deleted my Gentoo installation, and installed Arch, I ...
0
votes
0
answers
28
views
Verification of Apache POI using gpg failed with 'not a trusted signature'
I'm trying to verify the Apache POI download using GPG simple installer download
(gnupg-w32-2.4.7_20241125.exe for windows from www.gnupg.org)
I've downloaded
apache-poi-src-5.3.0-20240625.zip
apache-...
0
votes
1
answer
45
views
How to test gnupg integration in my code?
I received a working PHP class that wraps gnupg. We handle gpg encryption and decryption with it. Now I have to test it with PHPUnit.
Nature of gpg is that it never returns two same results.
How ...
20
votes
2
answers
16k
views
Git not committing, gpg stuck in database_open waiting for lock
When I attempt to commit in Git through R, I continuously get revoked access.
The error is:
gpg: Note: database_open 134217901 waiting for lock (held by 9857) ..
I have pushed.
I have pulled.
I have ...
0
votes
1
answer
346
views
How can encrypt\encode (Base64) for a generated key including secret message with 2nd public data key in Python?
I'm trying to encrypt the a new generated key using another public key belongs to my friend recipient_public_key, then encode the final output in Base64. This process also can be done step by step ...
1
vote
1
answer
89
views
How to make VSCode commit command NOT use the --quiet option?
I have this problem, but when using SSH remote development on an actually remote machine (no WSL) and I need to be able to use the GUI commit button.
From what I have read, the culprit to the GPG not ...
-2
votes
1
answer
141
views
gpg: skipped "17FE7178DD4F****": No secret key on WIN 11
I have recently generated and setup a gpg key for which,
git config user.signingkey
17FE7178DD4F****
git config user.name
Subodh Pathak
git config user.email
[email protected]
also I have ...
0
votes
0
answers
132
views
Local verification of a git commit signature
I'm trying to verify locally the signature of a commit.
Following the answer in https://stackoverflow.com/a/68825309, I was able to split into two files the data being signed (commit) from its ...
1
vote
1
answer
207
views
How do I decrypt data originally encrypted with `pgp_pub_encrypt` with the `gpg` command line?
For reasons, I have data that was originally encrypted with the pgp_pub_encrypt function in PostgreSQL, using public/private keys that I have, like this:
INSERT INTO testtable(testdata)
VALUES(...
2
votes
0
answers
561
views
Attempting to install GPG in Docker Container
I have a python workflow where I need to encrypt a file using GPG encryption keys - this will run in ECS using a Docker image.
Since GnuPG works on the basis of a “home directory”, I need to be able ...
0
votes
1
answer
331
views
GPG encryption and importing existing public key fail in PHP
I have a Ubuntu server and I have installed GnuPG library and it can be visible when I do phpinfo()
also, I tried
if (extension_loaded('gnupg')) {
echo "GnuPG extension is loaded.<br>&...
5
votes
3
answers
3k
views
Solution to the gpg problem on github desktop?
I have been seeing several users have problems signing with github dektop, I had these two errors
gpg: error running '/usr/lib/gnupg/keyboxd': probably not installed
gpg: failed to start keyboxd '/usr/...
0
votes
0
answers
91
views
Deploy to Maven Central: gpg: skipped "6919F5E8": No secret key gpg: signing failed: No secret key
Seven years ago or so, I created a Java library and put it on Maven Central. Here is the library on Maven Central
I needed to solve a bug and have now problems getting the new version on Maven Central....
-1
votes
1
answer
411
views
How to solve "Network unreachable" when using gpg --search?
When I run gpg --search I always get Network is unreachable
gpg --search-key xxx
gpg: enabled compatibility flags:
gpg: error searching keyserver: Network is unreachable
gpg: keyserver search failed: ...
0
votes
1
answer
199
views
PGP decryption in azure fucntion app v2-linux
I am trying to decrypt a file using python gnupg. I have an azure durable fucntion app on Linux app service.
The code runs fine on local but fails on Cloud.
decrypted_data = gpg.decrypt(encrypted_data,...
1
vote
0
answers
158
views
gpg keys with restricted encryption
I'm trying to understand why on my system gpg keys are restricted. I generated new gpg key using gpg --expert --full-gen-key command, and then I added authentication and signing keys (I selected only ...