View previous topic :: View next topic |
Author |
Message |
Felig Apprentice
Joined: 22 Jun 2004 Posts: 180
|
Posted: Fri Jan 18, 2008 3:18 am Post subject: How can I emerge a pure terminal gnupg? |
|
|
I have seen threads suggesting setting GPG_TTY and emerging pinentry with -qt3 -gtk.
They don't do any good. Gpg still farks the terminal, even the console with no X anywhere in sight. It stops echoing any characters, but when I have finished typing in my passphrase and hit ENTER, nothing happens. ldd shows gpg still depending on ncurses.
How can I emerge a plain old terminal based gnupg without all this GUI nonsense? |
|
Back to top |
|
|
yaman666 Tux's lil' helper
Joined: 13 Dec 2002 Posts: 117 Location: Chicago, IL
|
Posted: Fri Jan 18, 2008 7:56 pm Post subject: |
|
|
What happens when view the dependency tree with:
|
|
Back to top |
|
|
Felig Apprentice
Joined: 22 Jun 2004 Posts: 180
|
Posted: Fri Jan 18, 2008 10:05 pm Post subject: |
|
|
yaman666 wrote: | What happens when view the dependency tree with:
|
I get just the gnupg line.
Quote: | These are the packages that would be merged, in reverse order:
Calculating dependencies ... done!
[ebuild R ] app-crypt/gnupg-2.0.7 USE="bzip2 doc nls -ldap -openct -pcsc-lite (-selinux) -smartcard" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
|
|
Back to top |
|
|
yaman666 Tux's lil' helper
Joined: 13 Dec 2002 Posts: 117 Location: Chicago, IL
|
Posted: Fri Jan 18, 2008 11:34 pm Post subject: |
|
|
I'm sorry, I misread the question. I thought it was one of those "why does it keep emerging GUI dependencies when my USE flags are telling it not to" questions. |
|
Back to top |
|
|
Felig Apprentice
Joined: 22 Jun 2004 Posts: 180
|
Posted: Sat Jan 19, 2008 12:08 am Post subject: |
|
|
yaman666 wrote: | I'm sorry, I misread the question. I thought it was one of those "why does it keep emerging GUI dependencies when my USE flags are telling it not to" questions. |
I did have that problem at first, since it never dawned on me that (1) anyone would add any kind of GUI code to gnupg, and (2) if they did do so, they would not have the brains to revert to dumb tube mode when there was no GUI display. |
|
Back to top |
|
|
Orothain n00b
Joined: 27 Jan 2004 Posts: 8
|
Posted: Thu Feb 28, 2008 1:38 pm Post subject: |
|
|
You can force it to use the curses pinentry interface by setting:
Code: |
pinentry-program /usr/bin/pinentry-curses
|
in ~/.gnupg/gpg-agent.conf (create the file if it doesn't exist). |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|