all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#486: pgg-gpg.el - pgg-gpg-process-region timing problem
@ 2008-08-02 14:51 Chong Yidong
  0 siblings, 0 replies; 35+ messages in thread
From: Chong Yidong @ 2008-08-02 14:51 UTC (permalink / raw
  To: ken manheimer; +Cc: 486

> i am not sure how to proceed with this problem.  as demonstrated by
> the pggprob.el script, i consistently get encryption and decryption
> problems without the contrived delay in my pgg-gpg-process-region
> patch.  (the problem does not happen if i just do a regular
> pgg-decrypt - i think the crucial thing is that a symmetric passphrase
> is being passed into pgg-gpg-process-region.)

I haven't been able to reproduce this problem, so let me make sure I
understand your recipe correctly.

First, I create a buffer with the following contents

(setq passphrase "a"
      verifier "-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.6 (GNU/Linux)

jA0EAwMCo72fNGB1rNxgySv+rxdkPv46nVxQ5fg4yT78ldgVcDseD7Mre4Fhjifn
VTA1/PdmetVfFb9+
=MXF6
-----END PGP MESSAGE-----"
      count 0)

(defun decrypt (passphrase text)
  (with-current-buffer (get-buffer-create "*pgg-test*")
    (erase-buffer)
    (insert text)
    (pgg-decrypt nil nil passphrase)))

Then, I eval the buffer with M-x eval-buffer.

Finally, I do

 M-: (decrypt passphrase verifier) RET

This consistently gives me the message `208' in the echo area.  I don't
see a nil result, but that's what you see, correct?






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

end of thread, other threads:[~2008-08-02 19:15 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <873aln2q1d.fsf@stupidchicken.com>
2008-06-22 17:37 ` pgg-gpg.el - pgg-gpg-process-region timing problem ken manheimer
2008-06-23  8:17   ` bug#470: " Thien-Thi Nguyen
2008-06-23  8:17   ` Thien-Thi Nguyen
2008-06-23  8:43     ` Thien-Thi Nguyen
2008-06-23 13:17       ` bug#471: " Thien-Thi Nguyen
2008-06-23 13:17       ` Thien-Thi Nguyen
2008-06-23 17:44         ` bug#472: " ken manheimer
2008-06-23 17:44         ` ken manheimer
2008-06-24 10:42           ` Thien-Thi Nguyen
2008-06-24 12:30             ` bug#476: " Stefan Monnier
2008-06-24 12:30             ` Stefan Monnier
2008-08-02 19:15               ` bug#476: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-08-02 19:15             ` bug#474: " Emacs bug Tracking System
2008-06-24 10:42           ` bug#474: pgg-gpg.el - pgg-gpg-process-region timing problem Thien-Thi Nguyen
2008-08-02 19:15           ` bug#472: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-06-24  1:59         ` pgg-gpg.el - pgg-gpg-process-region timing problem Daiki Ueno
2008-06-24  9:09           ` Thien-Thi Nguyen
2008-06-25 11:27             ` Daiki Ueno
2008-08-02 19:15         ` bug#471: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-08-02 19:15       ` bug#469: " Emacs bug Tracking System
2008-06-23  8:43     ` bug#469: pgg-gpg.el - pgg-gpg-process-region timing problem Thien-Thi Nguyen
2008-08-02 19:15     ` bug#470: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-06-26 16:16   ` pgg-gpg.el - pgg-gpg-process-region timing problem ken manheimer
2008-06-26 16:32     ` Chong Yidong
2008-06-27 14:01       ` ken manheimer
2008-06-27 14:24         ` Miles Bader
2008-06-27 14:39           ` ken manheimer
2008-06-27 16:21             ` Stefan Monnier
2008-06-27 17:33         ` ken manheimer
2008-08-02 19:15       ` bug#487: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-06-26 16:32     ` bug#487: pgg-gpg.el - pgg-gpg-process-region timing problem Chong Yidong
2008-08-02 19:15     ` bug#486: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-06-26 16:16   ` bug#486: pgg-gpg.el - pgg-gpg-process-region timing problem ken manheimer
2008-08-02 19:15   ` bug#465: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
2008-08-02 14:51 bug#486: pgg-gpg.el - pgg-gpg-process-region timing problem Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.