From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80826 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail authentication again Date: Sat, 07 Jan 2012 15:45:54 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87d3awtgda.fsf@lifelogs.com> <878vlktfy6.fsf@lifelogs.com> <874nw7slnv.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325947589 7112 80.91.229.12 (7 Jan 2012 14:46:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 14:46:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29108@lists.math.uh.edu Sat Jan 07 15:46:25 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RjXXL-00039a-Q0 for ding-account@gmane.org; Sat, 07 Jan 2012 15:46:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RjXXF-00066N-5l; Sat, 07 Jan 2012 08:46:17 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RjXXE-00066I-BP for ding@lists.math.uh.edu; Sat, 07 Jan 2012 08:46:16 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RjXXC-0004nL-Hq for ding@lists.math.uh.edu; Sat, 07 Jan 2012 08:46:15 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RjXX9-0005cb-Mt for ding@gnus.org; Sat, 07 Jan 2012 15:46:11 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjXX4-00031U-RZ for ding@gnus.org; Sat, 07 Jan 2012 15:46:06 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 15:46:06 +0100 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 15:46:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:DOCUtgIpXTM+LN9CuT3wjGquLd4= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80826 Archived-At: Ted Zlatanov writes: > On Sat, 07 Jan 2012 06:33:11 +0100 Richard Riley wrote: > > RR> So long as the passwords are encrypted in the authinfo.gpg.... > > .gpg files are always encrypted if EPA/EPG is enabled, so yes. > > You can also encrypt individual passwords in an otherwise unencrypted > netrc/authinfo file with `auth-source-netrc-use-gpg-tokens'. But they > are not usable with other tools then. ,---- | Documentation: | Set this to tell auth-source when to create GPG password | tokens in netrc files. It's either an alist or `never'. | Note that if EPA/EPG is not available, this should NOT be used. `---- I dont understand the docstring. How does auth-source create passwords? While on the subject, whats the best elisp example/snippet to get a password from the authinfo based on only machine name or machine name and user id so I can use this in other elisp apps (e.g use authinfo to get my irc password from .authinfo.gpg).