From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86670 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Severe limitations in auth-source-macos-keychain-search Date: Mon, 25 Jan 2016 09:57:06 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87twm1pv0d.fsf@lifelogs.com> References: Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1453733899 18503 80.91.229.3 (25 Jan 2016 14:58:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jan 2016 14:58:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34897@lists.math.uh.edu Mon Jan 25 15:58:07 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aNiah-0007wx-OR for ding-account@gmane.org; Mon, 25 Jan 2016 15:58:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aNia1-0004T8-CN; Mon, 25 Jan 2016 08:57:21 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aNiZy-0004Sj-KC for ding@lists.math.uh.edu; Mon, 25 Jan 2016 08:57:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aNiZw-0004QP-Um for ding@lists.math.uh.edu; Mon, 25 Jan 2016 08:57:18 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aNiZu-0005jP-VL for ding@gnus.org; Mon, 25 Jan 2016 15:57:14 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aNiZs-0007RK-DL for ding@gnus.org; Mon, 25 Jan 2016 15:57:12 +0100 Original-Received: from 98.229.60.157 ([98.229.60.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2016 15:57:12 +0100 Original-Received: from tzz by 98.229.60.157 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2016 15:57:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 98.229.60.157 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" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:+PCUPFgYCD8DpeqIJ1W1etlyxwY= X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.0119 Ham tokens: 0.000-43--2253h-0s--0d--H*UA:Emacs, 0.000-42--2229h-0s--0d--H*M:fsf, 0.000-42--2223h-0s--0d--H*u:Emacs, 0.000-28--1468h-0s--0d--H*UA:Gnus, 0.000-28--1468h-0s--0d--H*u:Gnus Spam tokens: 0.994-17664--612h-10373s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.994-17664--612h-10373s--0d--H*RU:quimby.gnus.org, 0.994-16699--581h-9808s--0d--HTo:D*gnus.org, 0.993-17577--720h-10385s--0d--H*RT:80.91.231.51, 0.993-17577--720h-10385s--0d--Hx-spam-relays-internal:80.91.231.51 Autolearn status: no autolearn_force=no 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.5 BAYES_05 BODY: Bayes spam probability is 1 to 5% [score: 0.0119] 1.6 FSL_HELO_BARE_IP_2 No description available. List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86670 Archived-At: On Fri, 8 Jan 2016 09:36:56 +0100 Nikolai Weibull wrote: NW> Is anyone actually using auth-source-macos-keychain-search (with Gnus)? Not with Gnus. NW> If so, how do you get it to work? As far as I can tell, this function NW> doesn’t take into account that spec may contain keys that are lists, NW> for example, host and port. NW> Furthermore, in auth-source-macos-keychain-search-items, if called for NW> macos-keychain-generic, should probably validate that -c and -r only NW> receive four-letter values, as that’s what security(1) requires them NW> to be. Can you either try to write a patch against auth-source.el, or explain in more detail how it should operate? I have access to a Mac OS X machine, but I don't know enough about the keychain to understand exactly what needs to be done. Thanks Ted