Code: Select all
export DISPLAY=""Code: Select all
cat somefile | gpg --symmetric -a > cryptfileCode: Select all
pinentry-program /usr/bin/pinentry-curses
The vim-plugin seems to work now -> http://www.vim.org/scripts/script.php?script_id=661overlourd wrote:gnupg-1.* seems to not work with enigmail, the gnupg-plugin for thunderbird. So downgrading isn't a solution for me.
The gnupg-plugin for vim works fine with gnupg-1.* but not with gnupg-2.*'s ncurses passphrase dialog, so I probably have to keep the crappy gtk one.

Code: Select all
find /home/owner/secure | afio -ovZ -Pbzip2 -M1024m -|gpg -c |split -b500m - secure-bz2-Code: Select all
tar WHATEVER |gpg -c --passphrase-fd=3 3<<<$(echo this_is_the_passphrase) > WHATEVER.gpg

Code: Select all
./configure --disable-pinentry-curses --disable-pinentry-gtk --disable-pinentry-gtk2 --disable-pinentry-qt
[...]
configure: error: No pinentry enabled.Code: Select all
B:>\j*]-/z/mdd4EyGfXe{VP^nhjHRi78(n<W8D6wAN5_p<-Y"
That does sound like my kind of password too. Since I cut and paste large bizarre passwords,B:>\j*]-/z/mdd4EyGfXe{VP^nhjHRi78(n<W8D6wAN5_p<-Y"
Code: Select all
USE="ncurses -caps -gtk -qt4 -static" emerge pinentry"Code: Select all
export GPG_TTY=`tty`Code: Select all
export LANG="en_CA"Code: Select all
pinentry-program /usr/bin/pinentry-curses
no-grab
default-cache-ttl 599940
max-cache-ttl 999999
I have to apologize as I never thought of gui programs such as Thunderbird. My frustration is that I only use gpg on the command lineNo luck with thunderbird and your solution as i cannot get an interface to input the password.
app-crypt/ccryptnlsa8z6zoz7lyih3ap wrote:Do you know if it is possible to do high quality encryption from the command line without using gnupg?

No problem! Can you please join the version bump request by asking and/or voting the bug in the following thread? https://bugs.gentoo.org/show_bug.cgi?id=446170nlsa8z6zoz7lyih3ap wrote:Thanks very much!![]()
I have installed it and am using it already.
