From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic STARTTLS in smtpmail.el Date: Tue, 31 May 2011 20:19:54 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <874o5mky4o.fsf@lifelogs.com> <8762ptue8r.fsf@lifelogs.com> <87k4e8ucw3.fsf@lifelogs.com> <87liyofwxp.fsf@lifelogs.com> <874o5cfui5.fsf@lifelogs.com> <87liyndz5l.fsf@lifelogs.com> <87y61nnpoq.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306868187 23858 80.91.229.12 (31 May 2011 18:56:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 18:56:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 31 20:56:19 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QRU70-0004bw-Vd for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 20:56:19 +0200 Original-Received: from localhost ([::1]:45696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRU6z-0007ot-R1 for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 14:56:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRTY5-0006vf-Dm for emacs-devel@gnu.org; Tue, 31 May 2011 14:20:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRTY1-0007P2-4X for emacs-devel@gnu.org; Tue, 31 May 2011 14:20:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRTY0-0007O3-IC for emacs-devel@gnu.org; Tue, 31 May 2011 14:20:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QRTXz-0002c4-4h for emacs-devel@gnu.org; Tue, 31 May 2011 20:20:07 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 20:20:07 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 20:20:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUAAADW1tWNjY0GBgcw MTC0tLQCAQIBAQH////+//75+flvb27oOhPJAAACbElEQVQ4jZXTMW/aQBQH8Ns8X5NIiEylVDJh qrBY2ApKKjFFcJKlLG1pzWopFTfbFdLDnsoE3dKmkuONlDRO/OX6f2ebhKFD7wRI/HzvPT8/C2eA lRFFNrkkidYK61weCmEJS78DZJSRIqJTb+J5k7HwBQwn8LddwszTAF7WJqHUNhBIgNaTkQGhbTrN aAWYq1Ot9cwrwbLpjMOZUFNdnfCtf4I24ALivAuwLk1yqwyV0TlOnOGANmBpfw+mesqAc7hiI882 8jFV69Wia3KMhbw7aquxajYa9708H+b5wBn0ncFY0AkdUYhNPzOa1xDLprlLzyGuFdCiaB+CFUOy tokSBqoAa16LuGVY/wG1HbS4p4AIu6yqgAfTupAC7BISA8UDjWmehFUol0FtZFvW08ObZY0xcAGP BvqdRqOxzfOcP7yG2A2E+uOUTyjGxxw4WadXDJ9MxWQqjhha+AXcf6FIKdSKildBCYsCAvXa3GNY 5Lbp+LZZhlIF3LYLIAL85uTnuDtA/eoZHF1QkG9M8tAuQ11JgKlGGog4RwL4pRhiE+qbuQBguhg1 RT29Ttf0kn5UN8hzT0FTdD2vgzXoYw/zLSal/RY9agqNgdOW78/M6M28zoSvc5rCmmpfz94Ln98g QBEAcNnpdKeTLl4W39fa87oVfPyeptdSyhd3So0RvI0seR/wueorioyToiYaOds9CCs4MMAjEvBA qYtVlABu6KDHEMtjjDEAv7jBDEPL8IG+dhyMR8A5CmiVsFwsuRkGMFhPsGtfe4tcC4YR4E3Z8NAt qzPl7gA53OIB7GCzIrT8CYIHfL3qbf8CV+Lnmp3pyuUAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: The Human League's _Credo_: "Breaking The Chains" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:owfFxZNFVQ3KTm8FwplfOrbrePQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139991 Archived-At: Ted Zlatanov writes: > s/auth-info/auth-source/g right? Yes. :-) > IOW rather than your "secret" token, let's keep the existing tokens but > the netrc backend of auth-source will know that when it sees "xyz > gpg:" it needs to decode that hex data. I don't know how gpg works here. Does gpg-encrypting the same string give you identical results, or does gpg auto-salt things? The idea with putting several tokens into the secret part was to 1) make it more difficult to brute-force, and 2) make it possible to salt the string, so that if you have two services with the same user-name/password, the secret tokens would not be identical. > We should provide a general mode that can show the file with all the > gpg: locations replaced, showing the decrypted data with text > overlays and different colors. The mode could also edit the encrypted > data inline. This would be very useful for all of Emacs, not just > auth-source. Sort of a scratch pad with arbitrary encryption intervals. > With such a mode, a lot less direct auth-source support will be needed > for these encrypted tokens. The netrc backend would simply use the > general mode. Sounds way too complicated, I think. The usage at hand is the netrc file format, and I don't think it would have much utility beyond that. Besides, adding this to netrc would be really trivial. Making it general would be difficult. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/