+2000-12-14 23:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * gpg.el (gpg-make-temp-file): Don't check file-modes of M$Windows.
+
2000-12-14 10:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
* gpg.el (gpg-passphrase-store): Don't activate timer if it is live.
(gpg-with-temp-files): Ditto.
(gpg-show-result): Ditto.
-2000-11-08 Bj\e-Aƶrn Torkelsson <torkel@hpc2n.umu.se>\e$)A
+2000-11-08 Bj\e,Av\e(Brn Torkelsson <torkel@hpc2n.umu.se>
* gpg.el: In Xemacs it is called point-at-eol, not
line-end-position
* gpg.el (gpg-verify): The last argument of apply is a list.
(gpg-encrypt): Add passphrase as a parameter.
-
+
;; Local Variables:
;; coding: iso-2022-7bit
;; End:
;; Keywords: crypto
;; Created: 2000-04-15
-;; $Id: gpg.el,v 1.5 2000/12/01 04:13:45 zsh Exp $
+;; $Id: gpg.el,v 1.6 2000/12/14 15:48:28 zsh Exp $
;; This file is NOT (yet?) part of GNU Emacs.
;; make-temp-name doesn't create the file, and an ordinary
;; write-file operation is prone to nasty symlink attacks if the
;; temporary file resides in a world-writable directory.
- (unless (eq (file-modes gpg-temp-directory) 448) ; mode 0700
+ (unless (or (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
+ (eq (file-modes gpg-temp-directory) 448)) ; mode 0700
(error "Directory for temporary files must have mode 0700."))
(setq name (make-temp-name name))
(let ((mode (default-file-modes)))