public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: Usecase for slotted gnupg
       [not found]   ` <20120312223340.GO30297@workstation>
@ 2012-03-13  9:09     ` Amadeusz Żołnowski
  2012-03-13  9:12       ` Amadeusz Żołnowski
  0 siblings, 1 reply; 2+ messages in thread
From: Amadeusz Żołnowski @ 2012-03-13  9:09 UTC (permalink / raw
  To: Andreas Herz; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

Excerpts from Andreas Herz's message of 2012-03-12 23:33:40 +0100:
> > I use mcabber with gnupg2 and it has no problem with pinentry.
> 
> May i ask how you configured mcabber?
> Do you use the curses pinentry?

Gtk usually, but curses works fine, too.  I haven't configured anything
special in mcabber - just:

 set pgp = 1
 set pgp_private_key = "MY HASH"

I use 0.10.1.


> Thanks for the hint with keychain, i will try this and also the ttl
> stuff.

This is how I run keychain in my ~/.bashrc:

  keys="id_dsa id_rsa ABCDEF12 CDF12345" # ssh and gpg priv keys

  if [[ $- != *i* ]] ; then
  	eval `keychain --eval ${keys} --quiet --noask --quick`
  	# Shell is non-interactive.  Be done now!
  	return
  fi

  eval `keychain --eval ${keys} --quiet`
  [[ $(tty) == /dev/tty[0-9] ]] && reset


So when I log into interactive shell first time (or after timeout), I'm
asked for pass phrases to unlock keys, and on non-interactive shell only
special environment vars are set.

> I also got it done with masking gnupg2 but i will try your suggestions
> so thanks so far. I just hope it will work with mcabber and also mutt
> then :)

GnuPG2 should work everywhere today, and if it doesn't work for some
app, then bug should reported for this app.  (Although some crypto herd
member could take a voice here or at least confirm, what I wrote.)


Cheers,

-- 
Amadeusz Żołnowski

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: Usecase for slotted gnupg
  2012-03-13  9:09     ` [gentoo-dev] Re: Usecase for slotted gnupg Amadeusz Żołnowski
@ 2012-03-13  9:12       ` Amadeusz Żołnowski
  0 siblings, 0 replies; 2+ messages in thread
From: Amadeusz Żołnowski @ 2012-03-13  9:12 UTC (permalink / raw
  To: Andreas Herz; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

Hm, I have just realised that we're not discussing it on ml, and
unnecessarily I've CC'ed it to ml, sorry.

-- 
Amadeusz Żołnowski

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-13  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20120308080100.GW30297@workstation>
     [not found] ` <1331585646-sup-6367@raeviah>
     [not found]   ` <20120312223340.GO30297@workstation>
2012-03-13  9:09     ` [gentoo-dev] Re: Usecase for slotted gnupg Amadeusz Żołnowski
2012-03-13  9:12       ` Amadeusz Żołnowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox