1 |
Excerpts from Andreas Herz's message of 2012-03-12 23:33:40 +0100: |
2 |
> > I use mcabber with gnupg2 and it has no problem with pinentry. |
3 |
> |
4 |
> May i ask how you configured mcabber? |
5 |
> Do you use the curses pinentry? |
6 |
|
7 |
Gtk usually, but curses works fine, too. I haven't configured anything |
8 |
special in mcabber - just: |
9 |
|
10 |
set pgp = 1 |
11 |
set pgp_private_key = "MY HASH" |
12 |
|
13 |
I use 0.10.1. |
14 |
|
15 |
|
16 |
> Thanks for the hint with keychain, i will try this and also the ttl |
17 |
> stuff. |
18 |
|
19 |
This is how I run keychain in my ~/.bashrc: |
20 |
|
21 |
keys="id_dsa id_rsa ABCDEF12 CDF12345" # ssh and gpg priv keys |
22 |
|
23 |
if [[ $- != *i* ]] ; then |
24 |
eval `keychain --eval ${keys} --quiet --noask --quick` |
25 |
# Shell is non-interactive. Be done now! |
26 |
return |
27 |
fi |
28 |
|
29 |
eval `keychain --eval ${keys} --quiet` |
30 |
[[ $(tty) == /dev/tty[0-9] ]] && reset |
31 |
|
32 |
|
33 |
So when I log into interactive shell first time (or after timeout), I'm |
34 |
asked for pass phrases to unlock keys, and on non-interactive shell only |
35 |
special environment vars are set. |
36 |
|
37 |
> I also got it done with masking gnupg2 but i will try your suggestions |
38 |
> so thanks so far. I just hope it will work with mcabber and also mutt |
39 |
> then :) |
40 |
|
41 |
GnuPG2 should work everywhere today, and if it doesn't work for some |
42 |
app, then bug should reported for this app. (Although some crypto herd |
43 |
member could take a voice here or at least confirm, what I wrote.) |
44 |
|
45 |
|
46 |
Cheers, |
47 |
|
48 |
-- |
49 |
Amadeusz Żołnowski |