Why is GPG not working even with pinentry installed?

Despite me installing pinentry, I still get the following error: xxxxxxxMacxxxxx:~ MAU$ gpg2 -c --cipher-algo=aes gpg-agent[89931]: can't connect to the PIN entry module: IPC connect call...

I can’t get `git tag -s` to ask for my GPG password

I can manually perform a gpg task that then prompts for my password via pinentry, with this password temporarily cached I can perform git tag -s and it works, other wise I get: gpg: signing...

using pinentry-tty in a bash script (like read)

Is there a way to use pinentry-tty directly in a bashscript? E.G. as a more secure replacement for 'read'. I was thinking of something like this: local pass=$(pinentry-tty); This allows me to...

Prevent GPG password prompt on Mac

I am attempting to generate a gpg for Github as detailed here: https://help.github.com/articles/generating-a-new-gpg-key/ I have generated the key and setup both ~/.gitconfig and my local...

How to sign git commits from within an IDE like IntelliJ?

Question How do I sign git commits using an IDE like IntelliJ on Windows? If you're interested, read what I tried here: I followed mainly Github's guide. I made sure to not forget to restart...

Disable enter passphrase for each commit

1. Summary I can't disable enter passphrase each time, how I make commit. 2. Environment Windows 10 Enterprise LTSB 64-bit EN, git 2.16.2.windows.1, gpg-agent (GnuPG) 2.2.4, gpg4win 3.0.3. 3....

Open files from Linux bash shell on Windows 10

Using Windows 10 and I have the Linux Bash Shell to use with Jekyll. All I am looking to do is open the explorer or filesystem to copy some files. Does anyone know how you browse the file explorer...

gpg-agent forwarding: inappropriate ioctl for device

I'm trying to setup gpg-agent forwarding in order to use pass (https://www.passwordstore.org) via ssh. gpg version 2.2.9 both on local and remote hosts, installed by...

git commit not signing properly with GPG on OSX

I've been attempting to get git working with a gpg key and after lots of searching and reading of posts, the only thing that works for me is this: sudo rm /usr/local/bin/gpgsm ln -s...

gpg "failed to write commit object"

I'm trying to enable commit signing on OS X Mojave. git commit -S -am "Test" The error is: error: gpg failed to sign the data fatal: failed to write commit object What I tried: gpg works fine...

How to lock Termux package environment version

I want to lock my Termux package environment so that I can make different machines(same Android version) all have the same environment for better debugging. First, I have checked Termux packages...

Mysql will not install due to mariadb install but mariadb is not installed

Been trying for hours to get mysql installed but it failed due to a conflict. This is a brand newly installed CentOS 8 x64 (latest) and it's fully updated. There are no custom packages installed...

BUILD FAILED (OS X 10.15.1 using ruby-build 20191124) when installing ruby-2.4.0 with rbenv in OSX catalina(10.15.1)

I tried a lot of things from online forums. But never worked. Installed Xcode to see if it works. But it doesn't. At first, there was an issue with the C executables at the time of the OpenSSL...

Missing required packages in Ubuntu 18.04 pcc64el

starting from IBM's PowerAI TensorFlow docker container I try building a singularity container with additional packages on my Power 9 (ppc64el plattform). Using apt to install packages I get a lot...

How to disable pin/passphrase timeout in GPG, so I don't have to enter it for every commit, on Windows 10? There's no `gpg.conf` or `gpg-agent.conf`

I've looked for help around this everywhere and disected several stackoverflow threads but they all seem to be out of date or simply not valid to windows 10. The most promising has been this...

Where should I specify a pinentry program for GnuPG 2.0 and later?

I'm going to introduce git-crypt or git-secret to encrypt the credentials information described in a git repository. This needs GnuPG(GPG) to provide a way of encryption. I'v already installed the...

Change GNuPG passphrase using a script

I am struggling to change a GnuPG private key passphrase with a script. This is as far as I get: it returns that the process was successful at the end, but it doesn't change the passphrase. Any...

GPG large file decryption duration

I want to encrypt large files on linux with a bash script. When I was looking for methods to accomplish that, I thought about GPG and gave it a try. But when I ran some benchmarks I noticed that...

Unable to sign a file using gpg on Ubuntu 18.04

trying sign a file using gpg on Ubuntu 18.04 with following : gpg --version gpg (GnuPG) 2.2.4 libgcrypt 1.8.1 started the gpg-agent with following gpg-agent --daemon --debug-level 9...

Unable to decrypt CAST5 Encrypted PGP file using Bouncy Castle libraries on Java 8

We are using Bouncy Castle Java libraries for PGP Decryption and all was working well till we hit the point where we had to decrypt a file with the following attributes (snippet from pgpdump...

Integrating PHP, SSH and ssh-agent

I plan to write a PHP script that makes an SSH connection. I've investigated how to do this and this looks the most promising solution: https://github.com/phpseclib/phpseclib My only issue is how...

GPG decrypt not working from c# Website using Process class

I am trying to decrypt a pgp encrypted file using GnuPG in a C# asp.net website using the Process class. I can successfully do import and encrypt GPG commands in the website using the Process...

Emacs + GPG + pinentry.el for authentication

I'm having a hard time setting up pinentry for Emacs to work with authentication (lets say for github). Using GPG and pinentry for signing commits already works. I use magit inside emacs for...

Automate GPG decryption using batch file

I have been trying multiple different ways to decrypt using a Windows batch file. Moving the options around will a) cause the passphrase prompt to pop up or b) the batch file simply failing with a...

Missing Signature jar.asc for jar when post to Maven Central

It is the first time I am trying to deploy to Maven Central repo and I cannot find an ultimate guide on how to do it. No matter what I tried I get the same error: Missing...

No GPG passphrase prompt in Visual Studio Code on Windows 10 for signed git commits using WSL2

I am unable to use signed commits within Visual Studio Code when committing code in WSL2 from Windows 10. THE ISSUE No passphrase prompt is shown within Windows 10 resulting in git failing with...

Stop gpg from asking for the key everytime I commit

Essentially what I want is to not have to type in the password every single time I commit in git. When looking for a solution i found this. So it's telling me to set default-cache-ttl and...

gpg: signing failed: No pinentry

Im trying to setup my gnupg configuration on MAC OS 11.2.1 So far I have setup my SSH, I have generated my GPG key and added it into GPG agent. Now, if I run this command: echo "test" | gpg...

docker python flask gets " Do you want to continue" then "executor failed"

Trying a simple python flask web app in docker 20.10.2, build 2291f61. Doing the: docker build -t hello-world . starts out ok (please see below), but ends with: #6 2.866 After this operation, 305...

Git: gpg: signing failed: No pinentry on Windows?

I am setting up gpg on Windows to sign my Git commits. I noticed the error message: gpg: signing failed: No pinentry gpg: signing failed: No pinentry error: gpg failed to sign the data fatal:...