verify at GnuPG 1.0.4c

渡辺 正 / Tadashi Watanabe watanabe @ sigmaitec.co.jp
2000年 12月 21日 (木) 14:31:39 JST


渡辺と申します。

GnuPG 1.0.4c で、

    * WARNING: The semantics of --verify have changed to address a problem
      with detached signature detection. --verify now ignores signed material
      given on stdin unless this is requested by using a "-" as the name for
      the file with the signed material.  
        
      !  Please check all your detached signature handling applications   !
      !  and make sure that they don't pipe the signed material to stdin  !
      !  without using a filename and "-" on the the command line.        !

という変更があったため、verify に失敗します。

--- pgg-gpg.el.orig	Thu Dec 21 13:48:04 2000
+++ pgg-gpg.el	Thu Dec 21 13:54:08 2000
@@ -186,6 +186,7 @@
   (let ((args '("--batch" "--verify")))
     (when (stringp signature)
       (setq args (append args (list signature))))
+    (setq args (append args '("-")))
     (pgg-gpg-process-region start end nil pgg-gpg-program args)
     (with-current-buffer pgg-errors-buffer
       (goto-char (point-min))

-- 
渡辺 正 / Tadashi Watanabe <watanabe @ sigmaitec.co.jp>




More information about the Emacs-mime-ja mailing list