public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Amadeusz Żołnowski" <aidecoe@gentoo.org>
To: Andreas Herz <andi@geekosphere.org>
Cc: gentoo-dev <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] Re: Usecase for slotted gnupg
Date: Tue, 13 Mar 2012 10:09:07 +0100	[thread overview]
Message-ID: <1331628547-sup-1659@raeviah> (raw)
In-Reply-To: <20120312223340.GO30297@workstation>

[-- 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 --]

       reply	other threads:[~2012-03-13  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120308080100.GW30297@workstation>
     [not found] ` <1331585646-sup-6367@raeviah>
     [not found]   ` <20120312223340.GO30297@workstation>
2012-03-13  9:09     ` Amadeusz Żołnowski [this message]
2012-03-13  9:12       ` [gentoo-dev] Re: Usecase for slotted gnupg Amadeusz Żołnowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331628547-sup-1659@raeviah \
    --to=aidecoe@gentoo.org \
    --cc=andi@geekosphere.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox