From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77345 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-sources asking for password 2 or 3 times Date: Fri, 25 Feb 2011 08:43:38 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871v2wrx7p.fsf@lifelogs.com> References: <857hcumuuu.fsf@gmail.com> <87oc66kwih.fsf@gnus.org> <87k4gukw3m.fsf@gnus.org> <87vd0bwwut.fsf@lifelogs.com> <87mxln1nqc.fsf@lifelogs.com> <87lj17400k.fsf@gnus.org> <87pqqjkkdm.fsf@broken.deisui.org> <87sjveol16.fsf@lifelogs.com> <87sjvcbujf.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298645050 9323 80.91.229.12 (25 Feb 2011 14:44:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 14:44:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25670@lists.math.uh.edu Fri Feb 25 15:44:05 2011 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 1Psyto-0002de-Mm for ding-account@gmane.org; Fri, 25 Feb 2011 15:44:05 +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 1Psytk-0002sI-DU; Fri, 25 Feb 2011 08:44:00 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Psyti-0002rv-Iw for ding@lists.math.uh.edu; Fri, 25 Feb 2011 08:43:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Psyte-0005y4-84 for ding@lists.math.uh.edu; Fri, 25 Feb 2011 08:43:58 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Psytb-0006qD-AI for ding@gnus.org; Fri, 25 Feb 2011 15:43:51 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsytZ-0002W3-LR for ding@gnus.org; Fri, 25 Feb 2011 15:43:49 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 15:43:49 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 15:43:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:lNY7OoOIdzxqvEpVlwWmuqC7GV0= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77345 Archived-At: On Fri, 25 Feb 2011 16:17:47 +0900 Daiki Ueno wrote: DU> Lars Ingebrigtsen writes: >> So while it seems like a workable idea, I have a feeling that there's >> (a) not a real use case there, and (b) it makes things more awkward >> for the user generally. DU> Right, now I changed my mind :) Maybe better approach would be to extend DU> secrets.el to have GPG backend as a fallback. It could then manage DU> mappings across two files internally/automatically (well, though I think DU> gnome-keyring is way to go, some people care portability and want to DU> manage their password collections in Emacs editable files). You mean if the Secrets API is not available, secrets.el should emulate it with a file-based backend? That would be useful. Hmm. But it depends on the platform, too. Often they have their own OS-level mechanisms (for Mac OS X it's the keychain, for example). So it may be useful to also add more backends to auth-source.el in addition to extending secrets.el. If you or anyone want me to implement something specific in auth-source.el, let me know. I already have the Mac OS X keychain support on my TODO list. For secrets.el work you and Michael should decide what's useful. Incidentally, do you like the way I use lexical-bind to hide the secret data in auth-source? Is there a better way? Lars and I were thinking that maybe a Emacs-level C API would be better to hide secret data but I don't think we ever formalized a proposal. Ted