Mercurial > emacs
comparison doc/misc/auth.texi @ 110859:7aa4fdb60d57
shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Fri, 08 Oct 2010 23:55:33 +0000 |
parents | 8d09094063d0 |
children | 7c7fd71d22c7 |
comparison
equal
deleted
inserted
replaced
110858:a6ae19bc27ec | 110859:7aa4fdb60d57 |
---|---|
57 @menu | 57 @menu |
58 * Overview:: Overview of the auth-source library. | 58 * Overview:: Overview of the auth-source library. |
59 * Help for users:: | 59 * Help for users:: |
60 * Secret Service API:: | 60 * Secret Service API:: |
61 * Help for developers:: | 61 * Help for developers:: |
62 * GnuPG and EasyPG Assistant Configuration:: | |
62 * Index:: | 63 * Index:: |
63 * Function Index:: | 64 * Function Index:: |
64 * Variable Index:: | 65 * Variable Index:: |
65 @end menu | 66 @end menu |
66 @end ifnottex | 67 @end ifnottex |
174 | 175 |
175 @end defvar | 176 @end defvar |
176 | 177 |
177 If you don't customize @code{auth-sources}, you'll have to live with | 178 If you don't customize @code{auth-sources}, you'll have to live with |
178 the defaults: any host and any port are looked up in the netrc | 179 the defaults: any host and any port are looked up in the netrc |
179 file @code{~/.authinfo.gpg}. This is an encrypted file if and only if | 180 file @code{~/.authinfo.gpg}, which is a GnuPG encrypted file. |
180 you set up EPA, which is strongly recommended. | 181 @xref{GnuPG and EasyPG Assistant Configuration}. |
181 | |
182 @lisp | |
183 (require 'epa-file) | |
184 (epa-file-enable) | |
185 ;;; VERY important if you want symmetric encryption | |
186 ;;; irrelevant if you don't | |
187 (setq epa-file-cache-passphrase-for-symmetric-encryption t) | |
188 @end lisp | |
189 | 182 |
190 The simplest working netrc line example is one without a port. | 183 The simplest working netrc line example is one without a port. |
191 | 184 |
192 @example | 185 @example |
193 machine YOURMACHINE login YOU password YOURPASSWORD | 186 machine YOURMACHINE login YOU password YOURPASSWORD |
269 (nth 1 auth) ; the password | 262 (nth 1 auth) ; the password |
270 @end example | 263 @end example |
271 | 264 |
272 @end defun | 265 @end defun |
273 | 266 |
267 @node GnuPG and EasyPG Assistant Configuration | |
268 @appendix GnuPG and EasyPG Assistant Configuration | |
269 | |
270 In Emacs 23 or later there is an option @code{auto-encryption-mode} to | |
271 automatically decrypt @code{*.gpg} files and it is enabled by default | |
272 so there is no setting is needed. If you are using earlier versions | |
273 of Emacs for some reason, you will need: | |
274 | |
275 @lisp | |
276 (require 'epa-file) | |
277 (epa-file-enable) | |
278 @end lisp | |
279 | |
280 If you want your GnuPG passwords to be cached, setup @code{gpg-agent} | |
281 or EasyPG Assitant | |
282 @pxref{Caching Passphrases, , Caching Passphrases, epa} | |
283 | |
284 For those who are using older vesions of Emacs, here are some portion | |
285 copied from the EasyPG Assitant manual: | |
286 | |
287 Here are some questions: | |
288 | |
289 @enumerate | |
290 @item Do you use GnuPG version 2 instead of GnuPG version 1? | |
291 @item Do you use symmetric encryption rather than public key encryption? | |
292 @item Do you want to use gpg-agent? | |
293 @end enumerate | |
294 | |
295 Here are configurations depending on your answers: | |
296 | |
297 @multitable {111} {222} {333} {configuration configuration configuration} | |
298 @item @b{1} @tab @b{2} @tab @b{3} @tab Configuration | |
299 @item Yes @tab Yes @tab Yes @tab Nothing to do. | |
300 @item Yes @tab Yes @tab No @tab You can't, without gpg-agent. | |
301 @item Yes @tab No @tab Yes @tab Nothing to do. | |
302 @item Yes @tab No @tab No @tab You can't, without gpg-agent. | |
303 @item No @tab Yes @tab Yes @tab Set up elisp passphrase cache. | |
304 @item No @tab Yes @tab No @tab Set up elisp passphrase cache. | |
305 @item No @tab No @tab Yes @tab Nothing to do. | |
306 @item No @tab No @tab No @tab You can't, without gpg-agent. | |
307 @end multitable | |
308 | |
309 To setup gpg-agent, follow the instruction in GnuPG manual. | |
310 @pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}. | |
311 | |
312 To set up elisp passphrase cache, set | |
313 @code{epa-file-cache-passphrase-for-symmetric-encryption}. | |
314 | |
274 @node Index | 315 @node Index |
275 @chapter Index | 316 @chapter Index |
276 @printindex cp | 317 @printindex cp |
277 | 318 |
278 @node Function Index | 319 @node Function Index |