From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27549 invoked from network); 27 Oct 2022 08:24:36 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 27 Oct 2022 08:24:36 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onyBl-00BBCb-DY for ml@inbox.vuxu.org; Thu, 27 Oct 2022 03:24:33 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1onyBl-002dvE-0F for ml@inbox.vuxu.org; Thu, 27 Oct 2022 03:24:33 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1onyBg-002dv5-1i for ding@lists.math.uh.edu; Thu, 27 Oct 2022 03:24:28 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onyBa-009oBL-Up for ding@lists.math.uh.edu; Thu, 27 Oct 2022 03:24:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=l7af3JATN6uJBLAiDp2BRgreAhDydmTkPNPQVo1QHNk=; b=lPA61uajQuxtSc/OuEGKImyGdY Mgwbpog85mjztLqLGd+HklslcZmPN4Ra7ySX4t+S5JfkGbnvDequyrQWbDLIV0SYNW+s0dCPmSoOJ H7yQ1Fr8pTzqZ//MbcVTkHjPXyo+pM6rnJJJQy/79YjsEbskWgAdoHujyCVqI1HbRTAU=; Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1onyBT-0000Aq-A4 for ding@gnus.org; Thu, 27 Oct 2022 10:24:17 +0200 Received: by mail-wr1-x435.google.com with SMTP id j15so927674wrq.3 for ; Thu, 27 Oct 2022 01:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=l7af3JATN6uJBLAiDp2BRgreAhDydmTkPNPQVo1QHNk=; b=jNOF48HAnr8NZEKpZ5ZqM1zlPNrxpIJztWwvY3Q0tbG0hfBjwD56/LgiFvdEXKwtVz MdwhnLayzf/PBrBl+5OkuRNJXYiFozRglQ9463j2WT0jkbhI36OMb1XGNym/zRIQ71js H0tYmqDcMR8ZTQiFtizLxm2YNMV72WfW8g3Au8WimnXBHCE+q0Uu8WC+tyGWBlhkQY+Q uA8JIBMw087wTxQoz9VGCpiNXYWxpPr/zAkIR94wAEiRlPBbY5n2gNgHDQes9+0epi2h gtpWXCDn0HtWEFs7r+jZaTMNKfqMDmJGHYffYMw6mfjeu31yF0UXhewLItpINr+5lbX9 OzGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l7af3JATN6uJBLAiDp2BRgreAhDydmTkPNPQVo1QHNk=; b=ZhrIneUm7z9kAGVUmSQ/F4MT4W4damuSaWywheHo2w+Ve7RJq9Qf6JlA1eqEI8Rnwh 2n9oW+JC0s75S59GjX5FPkcZwWi13TmnJRoh0KmBuM/KWKd4kcFd0ehxmoVCdhkXvyY3 vObL4SyKHIroWaq6/K3Ol0uafBTVk9A2xVwyF23HYH9356Ul1ZOzDCa9a7ChUdEfrslJ jHln4vb9kz2BfTpjgy1x6LlvDQERSRY5lv6cWgbDMk+Ii1RStqoWHKheVU+44RFT1s1P tLN8erAw/A47n0v4nm+bs8E+dpd4fA/24wRwkHm4VtFgFqIR8RmTaKxaRzoUQxHtN7t8 0Hfg== X-Gm-Message-State: ACrzQf1qqvxK/Z/14m86oXooep0t1UUU5HmMjYEnGdVEpxchy/JejWxv j7HUOtZdxBrCGO+JrgRh6iF2gyxb5rE= X-Google-Smtp-Source: AMsMyM7Lmo/AF74wcvU+5VVIP2HgSKUpgOF149WkJ4LwuQGdWK+UkAaHBCTNNdKPImRmPJYk3/1RKg== X-Received: by 2002:a5d:684a:0:b0:236:7930:a3e9 with SMTP id o10-20020a5d684a000000b002367930a3e9mr10810555wrw.27.1666859052084; Thu, 27 Oct 2022 01:24:12 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id bp23-20020a5d5a97000000b00236740c6e6fsm514080wrb.100.2022.10.27.01.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 01:24:11 -0700 (PDT) From: Robert Pluim To: bk@asterio.cloud Cc: ding@gnus.org Subject: Re: Unable to authenticate to local dovecot server in Gnus using password-store as auth-source backend In-Reply-To: (bk@asterio.cloud's message of "Wed, 26 Oct 2022 21:08:33 +0200") References: Gmane-Reply-To-List: yes Date: Thu, 27 Oct 2022 10:24:10 +0200 Message-ID: <87o7txvfmd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk >>>>> On Wed, 26 Oct 2022 21:08:33 +0200, bk@asterio.cloud said: bk> My minimal ~/.emacs file bk> (setq auth-source-debug 'trivia) bk> (setq auth-sources '(password-store)) bk> (setq gnus-select-method '(nnnil "")) bk> (setq gnus-secondary-select-methods bk> '((nnimap "localhost" bk> (nnimap-address "127.0.0.1") bk> (nnimap-stream network) bk> (nnimap-authenticator login) bk> (nnimap-server-port 1143) bk> (nnimap-user "bk@asterio.cloud")))) I=CA=BCve never used pass, but that=CA=BCs not how the manual describes ena= bling 'pass' support. From (info "(auth) Help for users") -- Variable: auth-sources The =E2=80=98auth-sources=E2=80=99 variable tells the auth-source = library where your netrc files, Secret Service API collection items, or your password store live for a particular host and protocol. While you can get fancy, the default and simplest configuration is: ;;; old default: required :host and :port, not needed anymore (setq auth-sources '((:source "~/.authinfo.gpg" :host t :port= t))) ;;; mostly equivalent (see below about fallbacks) but shorter: (setq auth-sources '((:source "~/.authinfo.gpg"))) ;;; even shorter and the _default_: (setq auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netr= c")) ;;; use the Secrets API LOGIN collection ;;; (*note Secret Service API::) (setq auth-sources '("secrets:Login")) ;;; use pass (~/.password-store) ;;; (*note The Unix password store::) (auth-source-pass-enable) <-----------------------= --- ;;; JSON data in format [{ "machine": "SERVER", ;;; "login": "USER", "password": "PASSWORD" }...] (setq auth-sources '("~/.authinfo.json.gpg")) Robert --=20