Hi,

Holger Levsen wrote (12 Feb 2014 16:38:05 GMT) :
> when updating the keyring, gnuog is blocked for 1-2 minutes,

Just to be clear: a single "gpg --import $KEY_FILE" takes 1-2 minutes
with your current configuration and keyring, right?

If so: wow. We certainly did not expect this kind of extreme use cases
when designing parcimonie, thanks for enlightening me :P

I'm not sure how much work (initial implementation + added code
complexity + maintenance) I want to put into working around GnuPG's
slowness in extreme cases. So, to assert the importance of this bug,
I would first need to know how long it takes, once you've switched to
the "keyring" directive in gpg.conf, and removed the duplicated keys
from your personal keyring.

> thus when I run 
> parcimonie every $random-amount of time and read mail and encounter a 
> encrypted or signed mail, my mail client is blocked by gpg being blocked, 
> blocking me from reading mail, which is quite annoying. 

Understood.

> So I believe a --download(-only) option would be quite useful, that way I 
> could let parcimonie download keys and then when I'm certain I dont want to 
> read mails, I could import those keys.

Yep. Importing into a custom
~/.local/share/parcimonie/updated-keys.gpg keyring would be doable.
Let's reconsider this once we have the answer to the question above.

> This feels like a quite horrible workaround but as I see it this is indeed a 
> problem with gpg and not with my mailclient...

Possibly whatever operation GnuPG is doing when importing a key could
be optimized. I've not found any relevant parameter we could pass
to --import-options, so likely this would have to happen in GnuPG
itself. No idea if/how this is possible, and I've not looked at
GnuPG's tasks tracker.

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to