When I try to decrypt a file using gpg, gpg just freezes after asking for my passphrase.
$ gpg foo.asc
You need a passphrase to unlock the secret key for
user: "Edward A. Falk <[email protected]>"
1024-bit ELG key, ID 07D99B37, created 2005-11-28 (main key ID 6F064DF1)
hunter2
wtf?
^C
gpg: signal Interrupt caught ... exiting
$
I've tried a couple of things such as killing gpg-agent, starting it manually from the command line, and so forth. No joy. Is GPG simply broken on Mac? I'm running MacOS Mojave.
I tried updating gpg with brew upgrade gpg
and it responded with Warning: gpg 2.2.19 already installed
, even though I actually have 2.0.30
gpg --version
gpg (GnuPG/MacGPG2) 2.0.30
libgcrypt 1.7.0
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
I was hoping to use gpg to encrypt some important files, but if I can't decrypt them, it's no use to me. It's a good thing I tested this before I started encrypting stuff.