I have a GPG public/private key to send email with Enigmail and Thunderbird. I received an encrypted email but Enigmail did not recognize it. I tried to use the command line, but gpg
complains gpg: decryption failed: secret key not available
. I imported the public key that was sent with the mail. I thought maybe the Cygwin gpg
was using a different home directory than Windows programs, so I tried
$ gpg --homedir /cygdrive/c/Users/Chloe/.gnupg --list-secret-keys
And it showed nothing. So where is the secret key that it is asking for?
$ ls -l /cygdrive/c/Users/Chloe/.gnupg
total 40
-rw-r-x---+ 1 Chloe None 9188 Mar 30 2015 gpg.conf
-rw-rwx---+ 1 Chloe None 9956 Mar 30 2015 pubring.gpg
-rw-rwx---+ 1 Chloe None 9956 Mar 30 2015 pubring.gpg~
-rw-------+ 1 Chloe None 0 Mar 30 2015 secring.gpg
-rw-------+ 1 Chloe None 1200 Mar 30 2015 trustdb.gpg