+;;; epa-dired.el --- the EasyPG Assistant as a dired extension
+;; Copyright (C) 2006 Daiki Ueno
+
+;; Author: Daiki Ueno <ueno@unixuser.org>
+;; Keywords: PGP, GnuPG
+
+;; This file is part of EasyPG.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Code:
+
(require 'epa)
(require 'dired)
(define-key dired-mode-map ":" 'epa-dired-prefix))
(defun epa-dired-do-decrypt ()
+ "Decrypt marked files."
(interactive)
(let ((file-list (dired-get-marked-files)))
(while file-list
(setq file-list (cdr file-list)))))
(defun epa-dired-do-verify ()
+ "Verify marked files."
(interactive)
(let ((file-list (dired-get-marked-files)))
(while file-list
(setq file-list (cdr file-list)))))
(defun epa-dired-do-sign (&optional detached)
+ "Sign marked files."
(interactive "P")
(let ((file-list (dired-get-marked-files)))
(while file-list
(setq file-list (cdr file-list)))))
(defun epa-dired-do-encrypt ()
+ "Encrypt marked files."
(interactive)
(let ((file-list (dired-get-marked-files)))
(while file-list