Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I emerge a pure terminal gnupg?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Fri Jan 18, 2008 3:18 am    Post subject: How can I emerge a pure terminal gnupg? Reply with quote

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
View user's profile Send private message
yaman666
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 117
Location: Chicago, IL

PostPosted: Fri Jan 18, 2008 7:56 pm    Post subject: Reply with quote

What happens when view the dependency tree with:

Code:
emerge -ptv gnupg
Back to top
View user's profile Send private message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Fri Jan 18, 2008 10:05 pm    Post subject: Reply with quote

yaman666 wrote:
What happens when view the dependency tree with:

Code:
emerge -ptv gnupg


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
View user's profile Send private message
yaman666
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 117
Location: Chicago, IL

PostPosted: Fri Jan 18, 2008 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Sat Jan 19, 2008 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Orothain
n00b
n00b


Joined: 27 Jan 2004
Posts: 8

PostPosted: Thu Feb 28, 2008 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Feb 29, 2008 3:07 am    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads, refer to topic "how to disable (sanitize) gpg2 GUI features (pinentry)?".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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