0

I recently upgraded to a GNU Emacs pretest 27 (version 27.0.91) running on MS Windows 10 platform.

With package-check-signature defaulting to allow-unsigned, I modified init.el so Emacs can work with signature keys using directory ~/.gnupg, where I have additional keys stored/managed through gpg2, installed under Cygwin setup.

This lets Emacs startup import gnu-elpa.gpg-keyring correctly, but when listing/upgrading Emacs packages I still see the following error related to signature verification:

error in process filter: package--check-signature-content: Failed to verify signature: file-error, "Writing to process", "Bad file descriptor", #<process epg>
error in process filter: Failed to verify signature: file-error, "Writing to process", "Bad file descriptor", #<process epg>

which requires either package-check-signature set to nil to be silenced before proceeding to upgrade packages. If I re-run list packages command, returned error message is:

Importing package-keyring.gpg...done

error in process filter: package--check-signature-content: Failed to verify signature: file-error, "Writing to process", "Invalid argument", #<process epg>
error in process filter: Failed to verify signature: file-error, "Writing to process", "Invalid argument", #<process epg>

Tried looking online, but couldn't find anything meaningful related to my issue.

  • You should report this as a possible bug using the Reporting bugs process. – NickD May 13 at 17:05
  • (You are running a pretest, not a released Emacs version. Bugs are likely.) – Drew May 13 at 17:09
  • thanks for your suggestions. Happy to contribute in Emacs v27 testing :). In terms of reporting possible bugs, how do I figure out where the error could lie - in Emacs or a package related to gpg? – ash May 13 at 18:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.