From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: can emacs use the mac os x keychain? Date: Wed, 21 Apr 2010 20:58:26 -0400 Organization: A noiseless patient Spider Message-ID: References: <370a1897-25aa-418f-9631-1570dfa99de3@z7g2000yqb.googlegroups.com> <87633kaess.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273013930 2310 80.91.229.12 (4 May 2010 22:58:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 22:58:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 00:58:49 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9R4b-00007E-En for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 00:58:41 +0200 Original-Received: from localhost ([127.0.0.1]:34631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9R4a-0001fZ-Pd for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 18:58:40 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!eternal-september.org!news.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Injection-Date: Thu, 22 Apr 2010 00:58:26 +0000 (UTC) Injection-Info: barmar.motzarella.org; posting-host="+bxBiZT/p0ZLLuDb5H+JCw"; logging-data="18514"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/+iQzrz1bW6nTA0hf2trF" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:Ty+abBZw/7NvXh0B1fAQmwHgAs8= Original-Xref: usenet.stanford.edu gnu.emacs.help:177832 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73264 Archived-At: In article <87633kaess.fsf@lifelogs.com>, Ted Zlatanov wrote: > On Wed, 21 Apr 2010 00:02:17 -0400 Barry Margolin > wrote: > > BM> In article > BM> <370a1897-25aa-418f-9631-1570dfa99de3@z7g2000yqb.googlegroups.com>, > BM> vm user wrote: > > >> hi all, several emacs packages such as tramp and VM ask for > >> passwords. does anyone know how to make emacs get the password from > >> the mac os x keychain instead of having to type it every time? > >> thanks... > > BM> If you're using tramp's ssh method, you can install SSHKeychain. > > Can this be called by other code? I could add support in > auth-source.el to look in the OS X keychain. SSHKeychain operates an ssh-agent, so it's only useful for applications that use SSH keys. Here's the docuemntation of Apple's Keychain API: http://developer.apple.com/mac/library/documentation/Security/Reference/k eychainservices/Reference/reference.html -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***