Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to disable (sanitize) gpg2 GUI features (pinentry)?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nlsa8z6zoz7lyih3ap
Apprentice
Apprentice


Joined: 25 Sep 2007
Posts: 287
Location: Canada

PostPosted: Fri Dec 07, 2012 5:15 pm    Post subject: Reply with quote

Renaming ccrypt-1.9.ebuild as ccrypt-1.10.ebuild seems to be all that is required to make it compile and work in my private portage.
Back to top
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 161

PostPosted: Sat Dec 08, 2012 2:59 am    Post subject: Reply with quote

If this is still of interest: I just stumbled upon the possibility to emerge app-crypt/pinentry-qt and e.g. choose it with eselect (pinentry-qt, not "...-qt4"!), which is capable of copy&paste.
_________________
https://cosmofox.net/gen2
Back to top
View user's profile Send private message
eruvaer_ohta
n00b
n00b


Joined: 18 Jul 2007
Posts: 22

PostPosted: Fri Jan 10, 2014 3:20 am    Post subject: Reply with quote

olek wrote:
If this is still of interest: I just stumbled upon the possibility to emerge app-crypt/pinentry-qt and e.g. choose it with eselect (pinentry-qt, not "...-qt4"!), which is capable of copy&paste.

Thanks a lot for this information! This stupid design of not allowing copy/paste in the standard gtk/qt4 implementation of pinentry has just been giving me headaches. pinentry-qt works, the only downside is that it shows the entered password in cleartext, but the copy/paste functionality clearly outweighs that for me.
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1549

PostPosted: Sun Apr 13, 2014 7:49 pm    Post subject: Re: how to disable (sanitize) gpg2 GUI features (pinentry)? Reply with quote

gw wrote:
How can I disable this new "feature", that is: simply enter the passphrase from within my terminal application, or how can I at least make pinentry accept copy and paste?

gw, et al ...

I got *so* fed up with pinentry screwing up the tty when editing with vim I decided to do something about it, and so I'm bumping this just to say getting the old behavior is infact possible.

/etc/portage/package.mask
Code:
>=app-crypt/gnupg-2.0.22

... it turns out gnupg-1 is still in portage, and still maintained ... so, voila!

Code:
# emerge -p app-crypt/gnupg
[ebuild   D    ] app-crypt/gnupg-1.4.16

... depclean pinentry (and deps) ...

Code:
# emerge --depclean -a

... sanity! ...

Code:
% vim ~/test.gpg
You need a passphrase to unlock the secret key for user: "khayyam <user@domain.tld>"
4096-bit RSA key, ID FFFFFFFF, created xxxx-xx-xx (main key ID FFFFFFFFF)
Enter passphrase:

... unlike with pinentry keyboard navigation works (and please, no, this has nothing to do with GPG_TTY, or 'no-grab', etc).

Hopefully that helps someone ....

best ... khay
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
Goto page Previous  1, 2
Page 2 of 2

 
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