ghm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ghm-discuss] How to your keys ?


From: Brandon Invergo
Subject: Re: [Ghm-discuss] How to your keys ?
Date: Wed, 20 Aug 2014 11:46:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

If anyone else has problems with Pius crapping out with an error about
needing entropy, the attached patch fixes it.

--- ./pius      2014-08-20 11:43:16.000000000 +0100
+++ ./pius      2014-08-20 11:34:22.479939099 +0100
@@ -202,6 +202,7 @@
   GPG_GOOD_PASS = '[GNUPG:] GOOD_PASSPHRASE'
   GPG_SIG_BEG = '[GNUPG:] BEGIN_SIGNING'
   GPG_SIG_CREATED = '[GNUPG:] SIG_CREATED'
+  GPG_NEED_ENTROPY = '[GNUPG:] PROGRESS need_entropy'
 
   def __init__(self, signer, mode, keyring, gpg_path, tmpdir, outdir,
                encrypt_outfiles, mail, verbose, mail_text,
@@ -558,6 +559,9 @@
         # we get a ENC_INV.
         debug('Got GPG_KEY_EXP')
         continue
+      elif (uids_signer.GPG_NEED_ENTROPY in line):
+        debug('Got GPG_NEED_ENTROPY')
+        continue
       else:
         raise EncryptionUnknownError, line
 
@@ -948,6 +952,9 @@
             uids_signer.GPG_SIG_CREATED in line):
         debug('Got skippable stuff')
         continue
+      elif uids_signer.GPG_NEED_ENTROPY in line:
+        debug('Got GPG_NEED_ENTROPY')
+        continue
       else:
         raise EncryptionUnknownError, line
 



-- 
Brandon Invergo
http://brandon.invergo.net

Attachment: pgpGpfXWZcPRm.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]