Unlock with GPG Keys does not prompt for Password
So, the problem is I try this:
$ git-crypt unlock
You need a passphrase to unlock the secret key for
user: "Christoph Gnip <[email protected]>"
4096-bit RSA key, ID 1C2B032A, created 2015-06-19 (main key ID B327F778)
This message appears, but it does not stop at this point. So I'm not able to enter my password.
My System is a OSX machine with El Capitan.
What am I doing wrong? Has someone an idea?
I too have exactly this same issue. This has worked in the past, the only change is deleting the local repo and recloning.
My guess is this has nothing to do with git-crypt
What is your gpg-agent situation? if it isn't running at all try something like this first (watch the backticks)
eval `gpg-agent --daemon --use-standard-socket`
I'm also seeing this issue on version 0.5.0
▶ git-crypt unlock
You need a passphrase to unlock the secret key for
user: "Anthony Ross <email>"
2048-bit RSA key, ID 2E335CFF, created 2017-02-03 (main key ID 946DF5B2)
Agent is running:
▶ gpg-agent
gpg-agent: gpg-agent running and available
Any updates on this issue? I have Sierra and the same problem. Can't use git-crypt at all because of this bug.
I was never able to get it working @dzavalkinolx
Making $(tty) writable together with setting GPG_TTY worked for us in a centos vm on virtualbox:
sudo chmod o+rw $(tty)
export GPG_TTY=$(tty)
git-crypt unlock