hayamiz / twittering-mode

An Emacs major mode for Twitter
http://twmode.sourceforge.net/
546 stars 92 forks source link

Cannot use a master password #137

Open gnuvince opened 7 years ago

gnuvince commented 7 years ago

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?

humitos commented 7 years ago

Look my reply at https://emacs.stackexchange.com/questions/35138/using-a-master-password-gnupg-with-twittering-mode/35521#35521

gnuvince commented 7 years ago

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

ayoeng commented 6 years ago

$ 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 6 years ago

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