+1999-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * mime-mc.el (mime-mc-pgp50-sign-region, mime-mc-gpg-sign-region):
+ Don't deactivate passwd during detecting the value of `micalg' even
+ if `mc-passwd-timeout' is set to nil.
+ (mime-mc-gpg-process-region): Print this function name for
+ debugging.
+
1999-04-12 Katsumi Yamaoka <yamaoka@jpl.org>
* mime-pgp.el (mime-pgp-check-signature): Return nil if neither bad
proc rc status parser-result
)
(mc-gpg-debug-print (format
- "(mc-gpg-process-region beg=%s end=%s passwd=%s program=%s args=%s parser=%s bufferdummy=%s boundary=%s comment=%s)"
+ "(mime-mc-gpg-process-region beg=%s end=%s passwd=%s program=%s args=%s parser=%s bufferdummy=%s boundary=%s comment=%s)"
beg end passwd program args parser bufferdummy
boundary comment))
(setq stderr-tempfilename
(with-temp-buffer
(message "Detecting the value of `micalg'...")
(insert "\n")
- (mime-mc-gpg-process-region
- 1 2 passwd pgp-path
- (list "--clearsign" "--armor" "--batch" "--textmode"
- "--verbose" "--local-user" (cdr key))
- parser buffer nil
- )
+ (let ((mc-passwd-timeout 60)) ;; Don't deactivate passwd.
+ (mime-mc-gpg-process-region
+ 1 2 passwd pgp-path
+ (list "--clearsign" "--armor" "--batch" "--textmode"
+ "--verbose" "--local-user" (cdr key))
+ parser buffer nil
+ ))
(std11-narrow-to-header)
(setq micalg
(downcase (or (std11-fetch-field "Hash") "md5"))
(with-temp-buffer
(message "Detecting the value of `micalg'...")
(insert "\n")
- (mime-mc-pgp50-process-region
- 1 2 passwd pgp-path
- (list "-fat" "+verbose=1" "+language=us" "+clearsig=on"
- "+batchmode" "-u" (cdr key))
- (function mc-pgp50-sign-parser) buffer nil)
+ (let ((mc-passwd-timeout 60)) ;; Don't deactivate passwd.
+ (mime-mc-pgp50-process-region
+ 1 2 passwd pgp-path
+ (list "-fat" "+verbose=1" "+language=us" "+clearsig=on"
+ "+batchmode" "-u" (cdr key))
+ (function mc-pgp50-sign-parser) buffer nil
+ ))
(std11-narrow-to-header)
(setq micalg (downcase (or (std11-fetch-field "Hash") "md5")))
(set-alist 'mime-mc-micalg-alist (cdr key) micalg)