Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gpg stopped working [NOT SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Thu Jan 30, 2014 9:37 am    Post subject: gpg stopped working [NOT SOLVED] Reply with quote

When I enter 'gpg -c test.txt' as user nothing happens. The same command as root gives gtk window asking for password. Obviously neither of these behavior is what I want, all I need is just asking in terminal for password and it worked like that just a few months ago. Something changed in the meantime probably during system update. How can I revert it?
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.
Back to top
View user's profile Send private message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Thu Feb 13, 2014 2:16 pm    Post subject: Reply with quote

Am I the only one who uses gpg nowadays? :roll:
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Feb 13, 2014 5:34 pm    Post subject: Reply with quote

jimmij wrote:
Am I the only one who uses gpg nowadays?

jimmij ... works for me:

Code:
# gpg -c test.txt
# file test.txt.gpg
test.txt.gpg: GPG symmetrically encrypted data (CAST5 cipher)

I imagine its app-crypt/pinentry that you are having issues with ...

Code:
# eselect pinentry list
Available pinentry binary implementations:
  [1]   pinentry-curses *

HTH & best ... khay
Back to top
View user's profile Send private message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Thu Feb 13, 2014 9:46 pm    Post subject: Reply with quote

I can select 3 different pinentries: gtk-2, qt4 and curses, neither of them looks as at good old days (closest is curses, but still it is stupid), also neither of them works for standard user.
I discovered that for user there is error message:
Code:
~/tmp> gpg -c test.txt
gpg: problem with the agent: Invalid card
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of `test.txt' failed: Operation cancelled

but it appears only once after reboot.
Later on 'gpg -c test.txt' commands give no message at all.

I suspected that maybe there is some gpg-agent running, but there is no process with 'gpg' phrase.


Edit:
I had gnome-keyring-daemon in startup programs (put there automatically during gnome upgrade process?), killing this daemon makes gpg work again with a warning:
Code:
gpg: can't connect to the agent - trying fall back


gnome-3 is such a crap, conflicts everywhere, unbelievable.
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum