emacs-gpu/doc/misc
Jens Lechtenboerger 5213ded9aa Refactor mml-smime.el, mml1991.el, mml2015.el
(Maybe this is the last merge from Gnus git to Emacs git)

Cf. discussion on ding mailing list, messages in
<http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
Common code from the three files mml-smime.el, mml1991.el, and
mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
to gnus-util.el.

The code is supported by test cases with necessary test keys.

Documentation in message.texi is updated.

* doc/misc/message.texi (Security, Using S/MIME):
Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
(Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
(Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.

* lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
New functions.

* lisp/gnus/mml-sec.el: Require gnus-util and epg.
(epa--select-keys): Autoload.
(mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
(mml-secure-openpgp-signers): New user option;
make mml1991-signers and mml2015-signers obsolete aliases to it.
(mml-secure-smime-signers): New user option;
make mml-smime-signers an obsolete alias to it.
(mml-secure-openpgp-encrypt-to-self): New user option;
make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
aliases to it.
(mml-secure-smime-encrypt-to-self): New user option;
make mml-smime-encrypt-to-self an obsolete alias to it.
(mml-secure-openpgp-sign-with-sender): New user option;
make mml2015-sign-with-sender an obsolete alias to it.
(mml-secure-smime-sign-with-sender): New user option;
make mml-smime-sign-with-sender an obsolete alias to it.
(mml-secure-openpgp-always-trust): New user option;
make mml2015-always-trust an obsolete alias to it.
(mml-secure-fail-when-key-problem, mml-secure-key-preferences):
New user options.
(mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
(mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
(mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
(mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
(mml-secure-passphrase-callback, mml-secure-check-user-id)
(mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
(mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
(mml-secure-fingerprint, mml-secure-filter-keys)
(mml-secure-normalize-cust-name, mml-secure-select-keys)
(mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
(mml-secure-self-recipients, mml-secure-recipients)
(mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.

* lisp/gnus/mml-smime.el: Require epg;
refactor declaration and autoloading of epg functions.
(mml-smime-use): Doc fix.
(mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
Obsolete.
(mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
Use format instead of gnus-format-message.
(mml-smime-epg-secret-key-id-list): Remove variable.
(mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
(mml-smime-epg-find-usable-secret-key): Remove functions.
(mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.

* lisp/gnus/mml1991.el (mml1991-cache-passphrase)
(mml1991-passphrase-cache-expiry): Obsolete.
(mml1991-epg-secret-key-id-list): Remove variable.
(mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
(mml1991-epg-find-usable-secret-key): Remove functions.
(mml1991-epg-sign, mml1991-epg-encrypt): Refactor.

* lisp/gnus/mml2015.el (mml2015-cache-passphrase)
(mml2015-passphrase-cache-expiry): Obsolete.
(mml2015-epg-secret-key-id-list): Remove variable.
(mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
(mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
(mml2015-epg-find-usable-secret-key): Remove functions.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
(mml2015-epg-encrypt): Refactor.
2016-01-03 01:10:34 +00:00
..
ada-mode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
auth.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
autotype.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
bovine.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
calc.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
cc-mode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ChangeLog.1 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cl.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
dbus.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
dired-x.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
doclicense.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
ebrowse.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ede.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ediff.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
edt.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
efaq-w32.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
efaq.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
eieio.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
emacs-gnutls.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
emacs-mime.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
epa.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
erc.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ert.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
eshell.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
eudc.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
eww.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
flymake.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
forms.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
gnus-coding.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
gnus-faq.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
gnus-news.el Fix copyright years by hand 2016-01-01 01:38:07 -08:00
gnus-news.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
gnus-overrides.texi
gnus.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
gpl.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
htmlfontify.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
idlwave.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ido.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
info.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
mairix-el.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
Makefile.in Update copyright year to 2016 2016-01-01 01:34:24 -08:00
message.texi Refactor mml-smime.el, mml1991.el, mml2015.el 2016-01-03 01:10:34 +00:00
mh-e.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
newsticker.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
nxml-mode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
octave-mode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
org.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
pcl-cvs.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
pgg.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
rcirc.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
reftex.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
remember.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
sasl.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
sc.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
sem-user.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
semantic.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
ses.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
sieve.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
smtpmail.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
speedbar.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
srecode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
texinfo.tex Update copyright year to 2016 2016-01-01 01:34:24 -08:00
todo-mode.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tramp.texi Spelling and grammar fixes 2016-01-01 01:59:19 -08:00
trampver.texi Update copyright year to 2016 2016-01-01 01:34:24 -08:00
url.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
vhdl-mode.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
vip.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
viper.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
widget.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
wisent.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00
woman.texi Fix copyright years by hand 2016-01-01 01:38:07 -08:00