hayamiz/twittering-mode

Cannot use a master password

Opened this issue · 4 comments

I'm using Emacs 25.1 on fresh Debian Unstable installation. I have gnupg installed on my system, and twittering-use-master-password is t. After I authorize the application and input the PIN, I get the following messages:

Open authorization URL with browser? (using `browse-url') (y or n) y
Authorization for the account "gnuvince" succeeded.
Encrypting......
(Encrypt failed Exit)
Loading international/kinsoku...done
Fetching :home. Success. :home: +20
Fetching :home. Success. (No new tweets)

Any idea why the encryption would fail?

The solution on Stack Exchange did not work for me, I get the same error.

$ echo 'allow-loopback-pinentry' >> ~/.gnupg/gpg-agent.conf
$ echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf
$ gpgconf --kill gpg-agent

Worked for me on emacs24, freebsd11
Source: https://blog.web-apps.tech/emacs-mac-twittering-mode-every-asked-pin/

aglet commented

thanks @ayoeng, this worked for me: Emacs 25.3.1, gnupg 2.2.5, macOS 10.13.4