View previous topic :: View next topic |
Author |
Message |
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Fri Dec 07, 2012 5:15 pm Post subject: |
|
|
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 |
|
|
olek Apprentice
Joined: 22 Oct 2011 Posts: 173
|
Posted: Sat Dec 08, 2012 2:59 am Post subject: |
|
|
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://plaintext.blog |
|
Back to top |
|
|
eruvaer_ohta n00b
Joined: 18 Jul 2007 Posts: 23
|
Posted: Fri Jan 10, 2014 3:20 am Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Apr 13, 2014 7:49 pm Post subject: Re: how to disable (sanitize) gpg2 GUI features (pinentry)? |
|
|
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 |
|
|
miroR l33t
Joined: 05 Mar 2008 Posts: 826
|
Posted: Wed May 14, 2014 7:27 pm Post subject: Re: how to disable (sanitize) gpg2 GUI features (pinentry)? |
|
|
khayyam wrote: | 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 |
khay, pls. accept my gratitude for your good programming.
Air-Gapped Gentoo Install, Tentative
https://forums.gentoo.org/viewtopic-p-7551458.html#7551458
Miroslav Rovis
www.CroatiaFidelis.hr |
|
Back to top |
|
|
Gentlenoob n00b
Joined: 10 Apr 2008 Posts: 66
|
Posted: Sun Mar 13, 2016 11:13 am Post subject: |
|
|
Hi all,
sorry for resurrecting that old thread... me too still on gpg1 because of that pinentry-nuisance. Now gnome-base/gvfs-1.26.3 seems to insist on pulling in gpg2. Any way to avoid that (least of masking)? Is there a simple way to make gpg 1 & 2 coexist?
Alternatively, any trick on getting back command line / stdin passphrase input ala gpg1 in gpg2 as well?
Thanks a lot! |
|
Back to top |
|
|
|
|
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
|
|