From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.devel Subject: Re: Modifying Emacs to use the Mac OS X Keychain Services Date: Mon, 20 Aug 2012 09:49:32 -0400 Message-ID: References: <8739jmso4c.fsf@gmx.de> <87y61ekr8y.fsf@gmx.de> <87tyc0camo.fsf@lifelogs.com> <87lii2ql3x.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345470589 7771 80.91.229.3 (20 Aug 2012 13:49:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2012 13:49:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 20 15:49:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T3SMX-0002bS-4a for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2012 15:49:49 +0200 Original-Received: from localhost ([::1]:58193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3SMV-000428-T5 for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2012 09:49:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3SMO-0003zJ-4u for emacs-devel@gnu.org; Mon, 20 Aug 2012 09:49:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3SMJ-0004oD-Vd for emacs-devel@gnu.org; Mon, 20 Aug 2012 09:49:40 -0400 Original-Received: from mail-vc0-f169.google.com ([209.85.220.169]:48400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3SMJ-0004o6-RR for emacs-devel@gnu.org; Mon, 20 Aug 2012 09:49:35 -0400 Original-Received: by vcbfl10 with SMTP id fl10so5750252vcb.0 for ; Mon, 20 Aug 2012 06:49:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:x-gm-message-state; bh=FesvA8zROPERjAVmEBFAmfpdp3833GGsAgzSZidUNQY=; b=X5dnu2ZjtvAZTzt5Uy7Qr3YSJ2Km4jLCidvFYdI42R+2k04wV1YiNVX4fI7a9hKtkS TNeVK/tD7WiVtfEYuBQ3ahrBivHf1BUHpN4DXiBGaEHtFf8I9aCeqJEmP2dXx9ATf5qO TBNBXCuX6mkZWQ9zRtT0W9AYVP9SvWRuShYP0N9XDV9pFGF5/FOqNtX2z6FbeV+shLVX Jb4SjW1qltUXVNPb0WoYYRFKZFou73mGFMm2SzBR3q8lhM4N+OZSwimUt1ajN3OlAomH LyJyNs1ExQWbbZ3x0V1xekcgK5vRyT32/O2ZHBPi6hBevX3Hp+LVXIRhc6ouXd3tesjO fkig== Original-Received: by 10.58.65.40 with SMTP id u8mr6798990ves.47.1345470575022; Mon, 20 Aug 2012 06:49:35 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id ej4sm5301581vdb.0.2012.08.20.06.49.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 06:49:33 -0700 (PDT) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id A99345F07EF1; Mon, 20 Aug 2012 09:49:32 -0400 (EDT) In-Reply-To: <87lii2ql3x.fsf@lifelogs.com> (Ted Zlatanov's message of "Sun, 29 Jul 2012 18:05:22 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) X-Gm-Message-State: ALoCoQmYYBX7h4HMHmvhzK6FNGG3sPzcJCg789QWt3/CE0qPQ/3jFdKja3wnDuh1oXfukfkxuh6q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 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:152696 Archived-At: [sorry about the last one; I misfired] on Sun Jul 29 2012, Ted Zlatanov wrote: > On Fri, 27 Jul 2012 11:20:17 -0400 Dave Abrahams wrote: > > > #+begin_src lisp > (auth-source-backend-parse 'macos-keychain-internet) > (auth-source-backend-parse 'macos-keychain-generic) > (auth-source-backend-parse "macos-keychain-internet:/path/here.keychain") > (auth-source-backend-parse "macos-keychain-generic:/path/here.keychain") > (auth-source-backend-parse '(:source (:macos-keychain-internet default))) > (auth-source-backend-parse '(:source (:macos-keychain-generic "/path/here.keychain"))) > #+end_src Hi Ted, I finally got around to trying this. Despite the fact that the above work, I'm seeing this message: --8<---------------cut here---------------start------------->8--- auth-source-backend-parse: invalid backend spec: (quote macos-keychain-generic) auth-source-backend-parse: invalid backend spec: (quote macos-keychain-internet) --8<---------------cut here---------------end--------------->8--- I think maybe the customization interface has a couple extra single quotes in it, because it left my auth-sources as #+begin_src lisp ((quote macos-keychain-generic) (quote macos-keychain-internet) "~/.authinfo" "~/.authinfo.gpg" "~/.netrc") #+end_src -- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost