* epg.el (epg-export-keys-to-file): Fixed a typo.
 
-       * epa.el (epa-sign-region): --armor & --textmode.
+       * epa.el (epa-protocol): New user option.
+       (epa-sign-region): --armor & --textmode.
        (epa-encrypt-region): Ditto.
        (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
        default protocol.
 
   "The EasyPG Assistant"
   :group 'epg)
 
+(defcustom epa-protocol 'OpenPGP
+  "The default protocol."
+  :type '(choice (const :tag "OpenPGP" OpenPGP)
+                (const :tag "CMS" CMS))
+  :group 'epa)
+
 (defcustom epa-armor nil
   "If non-nil, epa commands create ASCII armored output."
   :type 'boolean
                                (if epa-list-keys-arguments
                                    (car epa-list-keys-arguments)))))
         (list (if (equal name "") nil name)
-              (y-or-n-p "Secret keys?")
-              (intern (completing-read "Protocol? (default OpenPGP) "
-                                       '(("OpenPGP") ("CMS"))
-                                       nil t nil nil "OpenPGP"))))
+              (y-or-n-p "Secret keys? ")
+              (intern (completing-read
+                       (format "Protocol? (default %S) " epa-protocol)
+                       '(("OpenPGP") ("CMS"))
+                       nil t nil nil (symbol-name epa-protocol)))))
      (or epa-list-keys-arguments (list nil nil nil))))
   (unless (and epa-keys-buffer
               (buffer-live-p epa-keys-buffer))