unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
  • [parent not found: <jwviqvznhja.fsf-monnier+emacs@gnu.org>]
  • [parent not found: <87fxr040oq.fsf@stupidchicken.com>]
  • * bug#486: pgg-gpg.el - pgg-gpg-process-region timing problem
    @ 2008-08-02 14:51 Chong Yidong
      0 siblings, 0 replies; 18+ 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] 18+ messages in thread

    end of thread, other threads:[~2008-08-02 19:15 UTC | newest]
    
    Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <873aln2q1d.fsf@stupidchicken.com>
         [not found] ` <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com>
    2008-06-23  8:17   ` bug#470: pgg-gpg.el - pgg-gpg-process-region timing problem Thien-Thi Nguyen
         [not found]   ` <87zlpc8t00.fsf@ambire.localdomain>
    2008-06-23  8:43     ` bug#469: " Thien-Thi Nguyen
         [not found]     ` <87r6ao8rty.fsf@ambire.localdomain>
    2008-06-23 13:17       ` bug#471: " Thien-Thi Nguyen
         [not found]       ` <873an4b898.fsf@ambire.localdomain>
    2008-06-23 17:44         ` bug#472: " ken manheimer
    2008-08-02 19:15         ` bug#471: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Emacs bug Tracking System
         [not found]         ` <2cd46e7f0806231044w6410b825s9611ba713e9ac353@mail.gmail.com>
    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
         [not found]           ` <87mylb2jxt.fsf@ambire.localdomain>
    2008-06-24 12:30             ` bug#476: pgg-gpg.el - pgg-gpg-process-region timing problem Stefan Monnier
    2008-08-02 19:15             ` bug#474: 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-08-02 19:15     ` bug#470: " 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
         [not found]   ` <2cd46e7f0806260916y39870423ge4bda26f97d6d504@mail.gmail.com>
    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
         [not found] ` <jwviqvznhja.fsf-monnier+emacs@gnu.org>
    2008-08-02 19:15   ` bug#476: " Emacs bug Tracking System
         [not found] ` <87fxr040oq.fsf@stupidchicken.com>
    2008-08-02 19:15   ` bug#487: " 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 public inbox
    
    	https://git.savannah.gnu.org/cgit/emacs.git
    
    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).