Questions tagged [gpg-agent]

64 questions
66
votes
3 answers

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 instructions: https://gist.github.com/vt0r/a2f8c0bcb1400131ff51 On local…
Michael Zaikin
  • 835
  • 1
  • 6
  • 10
30
votes
3 answers

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. Steps to reproduce I install and set Gpg4win → I move…
Саша Черных
  • 2,561
  • 4
  • 25
  • 71
29
votes
1 answer

S.gpg-agent.browser not found error while adding ppa in debian strech

I am using debian strech. I try to add repostory for vim with python support , while adding I encountered gpg-agent.browser not found error sudo add-apt-repository ppa:pi-rho/dev [sudo] password for sathish: Dev Packages More info:…
Sathish Kumar
  • 341
  • 1
  • 3
  • 8
25
votes
1 answer

Ubuntu 18.04 add gpg key failed with gpg-agent not found error

trying to migrate our base image to the stable Ubuntu 18.04, when we try to add our gpg key, getting this error: root@77ff14f29cab:/# apt-key add apt-key.gpg gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory gpg: can't…
Rui Yang
  • 657
  • 1
  • 6
  • 16
23
votes
3 answers

How do I install and use gpg-agent on Windows?

I'm trying to start signing Git commits. I setup a GPG key with keybase.io and have it synced on my local machine and on my Git server. Now, I'm trying to solve the problem of typing the key passphrase on every single commit. PS> git commit -m…
Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
21
votes
2 answers

Subversion HTTPS password caching using GPG-Agent?

I am using the Subversion client (version 1.9.5 r1770682, installed from the default package repository) on a Debian Stretch machine, to which I only have SSH access. I am connecting to a Subversion repository via HTTPS and would like to avoid…
ngj
  • 883
  • 7
  • 17
19
votes
2 answers

gpg: error reading symlink '/proc/curproc/file': No such file or directory

Every time I sign something, it display the next error: ➜ ~ echo "test" | gpg --clearsign gpg: error reading symlink '/proc/curproc/file': No such file or directory gpg: using "8D5850D90161A3C94B9985084F40757FE4E85476" as default secret key for…
ofou
  • 311
  • 2
  • 10
17
votes
1 answer

gpg-agent not found for homebrew

I'm attempting to install gpg-agent, but I am getting an error that the formula doesn't exist: $ brew install gpg-agent Error: No available formula with the name "gpg-agent" ==> Searching for a previously deleted formula (in the last…
Jake Thompson
  • 2,591
  • 1
  • 16
  • 32
16
votes
2 answers

Signing commits with Git doesn't ask for my passphrase

I was trying to sign my commits with the command git commit -S but it fails without prompting my passphrase for my GPG key. The error is: error: gpg failed to sign the data fatal: failed to write commit object I noticed that if I run the following…
Oscar
  • 1,071
  • 13
  • 26
15
votes
2 answers

Purpose of gpg-agent in gpg2

I have been using gpg for encryption for a while. Someone suggested that I should use gpg2 instead. When I went to use gpg2, I could do almost nothing; it would complain that access to private keys was required, but I could not seem to get it to use…
inetknght
  • 4,300
  • 1
  • 26
  • 52
10
votes
2 answers

Avoiding problems with gpg-agent when running from scripts - gpg2

I'm trying to use gpg to --clearsign a file (for debian packaging purposes) from a script. I have an exported password-less private-key.gpg file and want to: gpg --clearsign -o output input I don't want to mess with the current user's ~/.gnupg or…
Peter V. Mørch
  • 13,830
  • 8
  • 69
  • 103
9
votes
0 answers

GPG Suite remember password indefinitely

I'm using GPG Suite with macOS Monterey, in order to save a GPG key's password, so that I can make verified git commits. Problem: Currently every time I make a verified commit (git commit -S -m "Commit message") for the first time every day, I am…
Thanasis M
  • 1,144
  • 7
  • 22
8
votes
2 answers

Unable to commit to git with the gpg key error

Using git version 2.20.1 and the official guide, I ran the following commands to generate a pgp key $ gpg --full-generate-key ... $ gpg --list-secret-keys --keyid-format LONG gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 …
mahmood
  • 23,197
  • 49
  • 147
  • 242
8
votes
1 answer

How to handle gpg-agent in WSL?

I was trying to release a Jar and the gpg-agent was not starting. According to https://www.gnupg.org/documentation/manuals/gnupg-devel/Invoking-GPG_002dAGENT.html it should start automatically on any invocation of a GnuPG program but that doesn't…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
6
votes
2 answers

IPC Error on GPG Agent with Git on Windows

I would like to use GPG without Gpg4win installed on Windows because Git for Windows includes the binary for GPG we well, so I would like to use it instead of installing an extra application. However, when I setup the GPG (e.g adding Path etc), I…
Jamie Phan
  • 796
  • 1
  • 7
  • 26
1
2 3 4 5