View previous topic :: View next topic |
Author |
Message |
jimmij Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Dec 2008 Posts: 143
|
Posted: Thu Jan 30, 2014 9:37 am Post subject: gpg stopped working [NOT SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jimmij Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Dec 2008 Posts: 143
|
Posted: Thu Feb 13, 2014 2:16 pm Post subject: |
|
|
Am I the only one who uses gpg nowadays? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Feb 13, 2014 5:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jimmij Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Dec 2008 Posts: 143
|
Posted: Thu Feb 13, 2014 9:46 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|