this post was submitted on 31 Jul 2023
1 points (66.7% liked)

Emacs

311 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] blawsybogsy@lemmy.ml 1 points 1 year ago (10 children)

feel free to message me or to open an issue on the repo if you run into issues getting lem.el going. others have already helped me iron out a few getting-started issues.

[–] oantolin@discuss.online 2 points 1 year ago (9 children)

Well, I keeping getting an error message that says: plstore--insert-buffer: GPG error: "Encrypt failed", "Exit".

Do I need to install a GPG executable or a GPG library? What is it even trying to Encrypt, can I turn that off? Why doesn't mastodon.el give me the same error?

[–] blawsybogsy@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (8 children)

interesting. mastodon.el also uses plstore, so if it works (saving your credentials) your machine's encryption should be working. but the auth process for the two services is totally different, so I had to write the lem.el auth code from scratch. I can take a look at it v soon, I'm keen to have any auth issues sorted out asap.

it'd help if you cd describe when the error message appears, or what exactly you do that causes it.

actually a backtrace would be most useful to track down the error.

you cd also try opening the plstore file in your .Emacs.d folder and encrypting / decrypting it.

thanks!

[–] oantolin@discuss.online 1 points 1 year ago* (last edited 1 year ago)

Does this help? With debug on error I get two hidden buffers:

*epg* contains:

Process epg exited abnormally with code 2
[GNUPG:] NEED_PASSPHRASE_SYM 9 3 2
[GNUPG:] PINENTRY_LAUNCHED 10719 curses 1.1.0 - dumb :0
[GNUPG:] ERROR get_passphrase 32870
[GNUPG:] CANCELED_BY_USER
[GNUPG:] FAILURE symencrypt 33554531

And *epg-error* contains:

gpg: problem with the agent: Inappropriate ioctl for device
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of '[stdin]' failed: Operation cancelled
load more comments (7 replies)
load more comments (7 replies)
load more comments (7 replies)