From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86575 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.gnus.general Subject: Severe limitations in auth-source-macos-keychain-search Date: Fri, 8 Jan 2016 09:36:56 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452271404 28103 80.91.229.3 (8 Jan 2016 16:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 16:43:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34803@lists.math.uh.edu Fri Jan 08 17:43:11 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 1aHa87-0001Kq-4X for ding-account@gmane.org; Fri, 08 Jan 2016 17:43:11 +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 1aHa7N-000853-HZ; Fri, 08 Jan 2016 10:42:25 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aHSXg-0004ns-DO for ding@lists.math.uh.edu; Fri, 08 Jan 2016 02:37:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aHSXf-0003p7-BE for ding@lists.math.uh.edu; Fri, 08 Jan 2016 02:37:04 -0600 Original-Received: from disu.se ([71.19.156.204]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1aHSXc-0004Us-I9 for ding@gnus.org; Fri, 08 Jan 2016 09:37:00 +0100 Original-Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by disu.se (Postfix) with ESMTPSA id F40ABC015 for ; Fri, 8 Jan 2016 09:36:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disu.se; s=mail; t=1452242218; bh=7GFvZZ3HwKChz0bmKObZQaguVJ6Ez6d1lWSQjFU59AA=; h=Date:Subject:From:To:From; b=n0UvQVohbWH2qhuYgzjWuMmGPd9D+Y5SpS870rjGmANF8Oqa++hxdDBAv3i8ol4c7 tKf3Rb8farUbZMNs0oe/BlZFut3d00vebIvw7VmbOwhBLs1QTsJavCP8bk3+rf7sr/ LdBes6bSNCqmZG/T2GQPBt/GgvYh/sLnr80fkAHU= Original-Received: by mail-lf0-f51.google.com with SMTP id i124so3174332lfe.3 for ; Fri, 08 Jan 2016 00:36:57 -0800 (PST) X-Received: by 10.25.88.77 with SMTP id m74mr248606lfb.149.1452242216427; Fri, 08 Jan 2016 00:36:56 -0800 (PST) Original-Received: by 10.25.64.7 with HTTP; Fri, 8 Jan 2016 00:36:56 -0800 (PST) X-Gmail-Original-Message-ID: X-Spam-Score: 0.7 (/) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.4488 Ham tokens: 0.000-246--10085h-0s--0d--HX-Received:0800, 0.000-246--10085h-0s--0d--HX-Received:PST, 0.000-17--687h-0s--0d--HX-Received:Jan, 0.000-17--687h-0s--0d--HX-Received:2016, 0.000-15--607h-0s--0d--H*RU:sk:mail-lf Spam tokens: 0.994-12223--454h-9324s--0d--H*Ad:D*gnus.org, 0.993-14309--592h-10960s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.993-14309--592h-10960s--0d--H*RU:quimby.gnus.org, 0.993-13562--578h-10400s--0d--HTo:D*gnus.org, 0.992-1116--54h-860s--0d--H*F:D*se Autolearn status: ham autolearn_force=no -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4488] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86575 Archived-At: Hi! Is anyone actually using auth-source-macos-keychain-search (with Gnus)? If so, how do you get it to work? As far as I can tell, this function doesn=E2=80=99t take into account that spec may contain keys that are lists= , for example, host and port. Furthermore, in auth-source-macos-keychain-search-items, if called for macos-keychain-generic, should probably validate that -c and -r only receive four-letter values, as that=E2=80=99s what security(1) requires the= m to be.