Does anyone here regularly use Emacs to interact with GPG encrypted files and, if so, what has your experience been?
The Problem: I've been using Emacs (on OS X) to regularly edit a couple of GPG encrypted files; however, in doing so, I've had multiple instances in which the correct password returns "gpg: decryption failed: Bad session key".
Note, that this result is not corrected by using gpgconf to restart the service or reset the password cache. In these instances, it appears also as if the hashes between the files differs as well, though I have not confirmed this to myself without a doubt. The only fix that I've been able to achieve is to restore the file using a backup version; however, this does not seem to be a sustainable solution.
Additionally, I'm always using the same computer, so I'm assuming there's not a conflict in GPG/GPG dependency version (which I believe has been noted to cause the same issue), unless somehow the GPG version differs between that used by Emacs and Homebrew. Note, I use homebrew emacs-plus from https://github.com/d12frosted/homebrew-emacs-plus.
The Question: Is it possible that the Emacs interaction with GPG is corrupting the encryption header? I receive the GPG password prompt from the command line or no other indication of an error from GPG (or Emacs), other than the aforementioned error. Else, what could the cause be?
Let me know what y'all think - thanks!