From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 20:10:25 2022 Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 00:10:26 +0000 Received: from localhost ([127.0.0.1]:55563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onqTU-0004cK-LA for submit@debbugs.gnu.org; Wed, 26 Oct 2022 20:10:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:32966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onm7O-0006AK-CB for submit@debbugs.gnu.org; Wed, 26 Oct 2022 15:31:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onm7J-0006Qc-DG for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 15:31:13 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onm7E-0004V1-5F for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 15:31:08 -0400 Received: (Authenticated sender: bk@asterio.cloud) by mail.gandi.net (Postfix) with ESMTPA id 911B1C0006 for ; Wed, 26 Oct 2022 19:30:57 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 26 Oct 2022 21:30:57 +0200 From: bk@asterio.cloud To: bug-gnu-emacs@gnu.org Subject: 28.1; Authentication in Gnus using password-store backend of auth-source Message-ID: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> X-Sender: bk@asterio.cloud Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.198; envelope-from=bk@asterio.cloud; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 26 Oct 2022 20:10:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hi, As it is written in subject I can't authenticate to my local dovecot server when I have enabled pass backend in auth-source. I don't have this problem if I use default ~/.authinfo file. If it's not exist it's generated by Emacs and contains line as follows: machine localhost login bk@asterio.cloud password pass My minimal ~/.emacs file (setq auth-source-debug 'trivia) (setq auth-sources '(password-store)) (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnimap "localhost" (nnimap-address "127.0.0.1") (nnimap-stream network) (nnimap-authenticator login) (nnimap-server-port 1143) (nnimap-user "bk@asterio.cloud")))) According to documentation [1] I tried numerous of entries of my user password in pass: pass ls Password Store ├── 127.0.0.1 │   └── bk@asterio.cloud ├── bk@asterio.cloud@127.0.0.1 ├── bk@asterio.cloud@localhost └── localhost └── bk@asterio.cloud But none of this works and in *Messages* buffer I have always following logs: auth-source-backend-parse: invalid backend spec: password-store auth-source-search: found 1 backends matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) auth-source-search: found 0 results (max 1) matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) auth-source-search: CREATED 0 results (max 1) matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) Opening nnimap server on localhost...failed: I don't try this backend and library in other situations (e.g. TRAMP) so I am not sure it's more related to Gnus or Auth-source. [1] https://www.gnu.org/software/emacs/manual/html_node/auth/The-Unix-password-store.html In GNU Emacs 28.1 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) Windowing system distributor 'SUSE LINUX', version 11.0.12201004 System Description: openSUSE MicroOS Configured using: 'configure --disable-build-details --without-pop --with-mailutils --without-hesiod --with-gameuser=:games --with-kerberos --with-kerberos5 --with-file-notification=inotify --with-modules --enable-autodepend --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/libexec --with-file-notification=yes --with-native-compilation --enable-locallisppath=/usr/share/emacs/28.1/site-lisp:/usr/share/emacs/site-lisp --with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --with-xft --without-gpm --with-x-toolkit=gtk3 --with-toolkit-scroll-bars --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libotf --with-m17n-flt --with-cairo --with-xwidgets --build=x86_64-suse-linux --with-dumping=pdumper 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -fno-optimize-sibling-calls -fno-PIE -DPDMP_BASE='\''"emacs-gtk"'\''' 'LDFLAGS=-Wl,-no-pie -Wl,-O2'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_NUMERIC: POSIX value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (pp shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils delsel lpr easy-mmode pcase iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 94010 9705) (symbols 48 7931 3) (strings 32 22898 2026) (string-bytes 1 747855) (vectors 16 18629) (vector-slots 8 336867 21359) (floats 8 32 197) (intervals 56 606 0) (buffers 992 14)) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 05:08:42 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 09:08:42 +0000 Received: from localhost ([127.0.0.1]:56158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onysT-0002BK-Tc for submit@debbugs.gnu.org; Thu, 27 Oct 2022 05:08:42 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:51183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onysS-0002B8-GP for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 05:08:41 -0400 Received: by mail-wm1-f42.google.com with SMTP id y10so508382wma.0 for <58807@debbugs.gnu.org>; Thu, 27 Oct 2022 02:08:40 -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:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7ANLc9ppUDK4OtBsRAMKhMQPZBScDGHvg/jgr6jwMgM=; b=aazV4OlewEe0tJ2gJlNRA5x3ecXdnVVMstZCZGzyghxZa2knQXoBn9kCDgxcLfSqHc SW6fGG85nBCxcDQI9tulPdAhJdqkhKPXenV1+9Ai2bhdMpbRtE7E3LX7wHB2DtkS/Yfi n45NOvEY9gCMvL1uNXRbhNsIUBC8U0Wxp6kYaP7Zq6XoQOzJffpNcF83zuLmmstMg4bh ZxeF8IU3/D8elwRVkjO/o1TAyIy5SyzhQHxbbnOhF101cnZ07Zgl8XW0YSFbFYNQoPgi G21WuswveKv/eN4KkZfyLK3F5DpIBlMjeyYjpSzhMnA2cOEU8OvdTbSb1uJy8L8Zpwph WUAg== 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:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7ANLc9ppUDK4OtBsRAMKhMQPZBScDGHvg/jgr6jwMgM=; b=IVW4CYHoiSC59FprNocO7gK/rTBgnEN6Jt41HZJLb1XBTSBv54Lw0pHkMMo7ZPFS/5 M3qXepy/jsmLCibkqEIySk2Fk6PzpnuC+FsdVcBQa340+XJua3Hlc3V/hR3i1hw7mxPu VaW5G9TdA2mrNJjW5WRIoKqDj4d633Nb1GfALMWIDw/gOg37QIhdgQtpz+NBTtjTwByi 2Bw50YamWaq3Zb84MQ0wKWGZA7WEHwvzo3MncB3FtDlcOsS1gfr8DyCmQtcKanL/ttZb 6MQxQ0U0c0iFeSrXKEbNxidgxYH8991n81xbXO1j02zuPxQC6UGwqOCWcZzPvU8TlMfP Mmdw== X-Gm-Message-State: ACrzQf3acKMRGiMEJZI4fZU77NbDiT+BlS3U554XDhiootbPy/QDFDun r8Pil+5Tq/56MWrCIZgHQ9CbIuuEobo= X-Google-Smtp-Source: AMsMyM5zoQGM/cNuducD3xcD0vY4CsltoRsCmP2SPPh5Ha1VqX6nHR9OV/EVQ4j2UZTg7ORDjeO03w== X-Received: by 2002:a05:600c:1910:b0:3c7:1522:7b09 with SMTP id j16-20020a05600c191000b003c715227b09mr4870709wmq.54.1666861713692; Thu, 27 Oct 2022 02:08:33 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id v11-20020a5d4a4b000000b0023662d97130sm659508wrs.20.2022.10.27.02.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 02:08:33 -0700 (PDT) From: Robert Pluim To: bk@asterio.cloud Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> (bk@asterio.cloud's message of "Wed, 26 Oct 2022 21:30:57 +0200") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> Date: Thu, 27 Oct 2022 11:08:32 +0200 Message-ID: <87bkpxvdkf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58807 Cc: 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Wed, 26 Oct 2022 21:30:57 +0200, bk@asterio.cloud said: bk> Hi, bk> As it is written in subject I can't authenticate to my local dovecot bk> server when I have enabled pass backend in auth-source. I don't have bk> this problem if I use default ~/.authinfo file. If it's not exist i= t's bk> generated by Emacs and contains line as follows: bk> machine localhost login bk@asterio.cloud password pass bk> My minimal ~/.emacs file bk> (setq auth-source-debug 'trivia) bk> (setq auth-sources '(password-store)) (info "(auth) Help for users") describes how to enable `pass', and that=CA=BCs not it. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 05:15:51 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 09:15:51 +0000 Received: from localhost ([127.0.0.1]:56163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onyzO-0002Le-Ox for submit@debbugs.gnu.org; Thu, 27 Oct 2022 05:15:51 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:59497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onyzM-0002LN-Rz for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 05:15:49 -0400 Received: (Authenticated sender: bk@asterio.cloud) by mail.gandi.net (Postfix) with ESMTPSA id 66DBD240016; Thu, 27 Oct 2022 09:15:38 +0000 (UTC) Message-ID: <5b95f19e-e1c8-8442-b996-f394693b87a5@asterio.cloud> Date: Thu, 27 Oct 2022 11:15:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source Content-Language: pl To: Robert Pluim References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <87bkpxvdkf.fsf@gmail.com> From: =?UTF-8?Q?Bartosz_Kaczy=c5=84ski?= In-Reply-To: <87bkpxvdkf.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 58807 Cc: 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Indeed, in Emacs build from master branch the command and manual differs from the manual on website [1] Now my config looks as follows: (use-package auth-source   :config   (auth-source-pass-enable)) and I can authenticate to the server. Thank you! [1] https://www.gnu.org/software/emacs/manual/html_node/auth/Help-for-users.html On 10/27/22 11:08, Robert Pluim wrote: >>>>>> On Wed, 26 Oct 2022 21:30:57 +0200, bk@asterio.cloud said: > bk> Hi, > bk> As it is written in subject I can't authenticate to my local dovecot > bk> server when I have enabled pass backend in auth-source. I don't have > bk> this problem if I use default ~/.authinfo file. If it's not exist it's > bk> generated by Emacs and contains line as follows: > bk> machine localhost login bk@asterio.cloud password pass > > bk> My minimal ~/.emacs file > bk> (setq auth-source-debug 'trivia) > bk> (setq auth-sources '(password-store)) > > (info "(auth) Help for users") describes how to enable `pass', and > thatʼs not it. > > Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 05:46:04 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 09:46:04 +0000 Received: from localhost ([127.0.0.1]:56178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onzSe-00034m-7a for submit@debbugs.gnu.org; Thu, 27 Oct 2022 05:46:04 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:42970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onzSa-000340-CF for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 05:46:02 -0400 Received: by mail-wr1-f53.google.com with SMTP id bp11so1208348wrb.9 for <58807@debbugs.gnu.org>; Thu, 27 Oct 2022 02:46:00 -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:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PD5dd/2eDIJT4bUeuJNLfJu+36YH+aN2I/5b3UyZgEI=; b=mC6siKjAj5khM5p3zHFK+K6O0m/Hj9VccZ6o7YClFsAH9LAlMKM7sw56ry3j6FpRnQ bGJ5heWg5P8E8Ks7Ryneb3WVDomgGOu0dn4VVb3SBmIX4XDIHJq8agAJn0/MkUbc40L3 ElqXplesJHFbOrdORGFzZNUeJijWRiuijYeVh6b9Rk8TlJRxnb0ooN0Z2gYHZkHQzAlZ bYTh0bwFTg8pvqiQ79KsZu9GCbJoqn9I2IpYBdtoejt+il3UijVFx8qsCBFJviDfPbt5 3HzkU/cksAexFkl9ai3asTumZxbFKeX5hRmkDn48k/sJLyppInnLc2i6rGk4LfDN0eJ2 VlKQ== 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:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PD5dd/2eDIJT4bUeuJNLfJu+36YH+aN2I/5b3UyZgEI=; b=CxHdIl2K0Aa51wfZYkRP8KJwZXeFOsvtzuEvZ0yyf3Z+ENTScNYy4FvVVZ2pFHyl0O oFwgQ0jknAeNKNipqU62mDRTmzel8u6Mc84E0os+lNgqH436ireZ5r8Kjjmssfo6/9v9 89njQiGRDxiQ5SvlczDxFKZBvw7fMdWJKIWvhTVApMAJKlWpVsM+bbNT4ivpO3W1KUbC 1jgMXLRRFuOdPM5VII9fagZ9uuzPHMUwhsjIKt66C6vqM7eNGdspLL2iDz/KEAzoxIUd 8Chx2rJ+yXp5sfmSg7R+uIyTa37DvEEOYsq1HHdrHIDDewF0GBiWTOANZaJc20a9H2sX ID4w== X-Gm-Message-State: ACrzQf36pgMJO8Os3mLNzGx+N8FQAbo54G77ZjtG4TGrUsSOoRPs0fs8 5148rtafXvRiFDfoSA01RWYOhTI6zGA= X-Google-Smtp-Source: AMsMyM68uugf6OoG4nELUahJ96KUc6sIQQo8HM5VSR6J5qct77irsb67bRjgaF+FS8ZMEih16lsuag== X-Received: by 2002:adf:e94a:0:b0:236:6f5a:e89b with SMTP id m10-20020adfe94a000000b002366f5ae89bmr13957215wrn.451.1666863953446; Thu, 27 Oct 2022 02:45:53 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id n2-20020a05600c294200b003c21ba7d7d6sm949842wmd.44.2022.10.27.02.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 02:45:52 -0700 (PDT) From: Robert Pluim To: Bartosz =?utf-8?Q?Kaczy=C5=84ski?= Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: <5b95f19e-e1c8-8442-b996-f394693b87a5@asterio.cloud> ("Bartosz =?utf-8?Q?Kaczy=C5=84ski=22's?= message of "Thu, 27 Oct 2022 11:15:37 +0200") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <87bkpxvdkf.fsf@gmail.com> <5b95f19e-e1c8-8442-b996-f394693b87a5@asterio.cloud> Date: Thu, 27 Oct 2022 11:45:51 +0200 Message-ID: <871qqtvbu8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58807 Cc: 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 27 Oct 2022 11:15:37 +0200, Bartosz Kaczy=C5=84ski said: Bartosz> Indeed, in Emacs build from master branch the command and manu= al Bartosz> differs from the manual on website [1] That=CA=BCs an unfortunate mistake. I see this was only fixed back in April, and only on master. Eli, I don=CA=BCt think there are going to be any more releases of emacs 28, is it worth cherry-picking 6019ca9dd2 to the emacs-28 branch? (and then maybe regenerating the HTML manuals?) Bartosz> Now my config looks as follows: Bartosz> (use-package auth-source Bartosz> =C2=A0 :config Bartosz> =C2=A0 (auth-source-pass-enable)) Bartosz> and I can authenticate to the server. Glad it=CA=BCs working. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 09:19:40 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 13:19:40 +0000 Received: from localhost ([127.0.0.1]:56430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo2nL-0002QG-P2 for submit@debbugs.gnu.org; Thu, 27 Oct 2022 09:19:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo2nJ-0002Q3-V4 for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 09:19:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo2nE-0006AG-Bv; Thu, 27 Oct 2022 09:19:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2m5jqKPUryIdbJk+wEitL92Uzt4Ozxj9mcl8p8DTwFU=; b=YgmDQmZdTheXQ08pjjQo tXNAkVJTy4dfpekayT6Tig6vXRiU9l7aQ8NkFrZU5h8afgucN0t5OOgPNLjJGs7o9X4+l+X/7uYsk FcDIuTdKDearsj7jQ6VDxkGm+0bAwjIvkNZTEB0SdYEqtflIEOVhcf7ORuwRKZQT50hB7/e9Ms1/H i9h2n9g1x2hvl+R2AkuR0o4mvklnMq8YL6L5tigGKpapmhLHsnO+chMEN4VVPS/2SUyIECz9LtAJy rUJaaEx9yGiwG3+Yad7rAF6uR9ayw3IPQAhNzN2CX4N4vSGTrmRHXUF6UgWvczXG20RSb6vr9VgAS Bei32WQvuh813g==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo2nD-0004pv-RO; Thu, 27 Oct 2022 09:19:32 -0400 Date: Thu, 27 Oct 2022 16:19:25 +0300 Message-Id: <835yg5mmjm.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <871qqtvbu8.fsf@gmail.com> (message from Robert Pluim on Thu, 27 Oct 2022 11:45:51 +0200) Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <87bkpxvdkf.fsf@gmail.com> <5b95f19e-e1c8-8442-b996-f394693b87a5@asterio.cloud> <871qqtvbu8.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58807 Cc: bk@asterio.cloud, 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 58807@debbugs.gnu.org > From: Robert Pluim > Date: Thu, 27 Oct 2022 11:45:51 +0200 > > Eli, I donʼt think there are going to be any more releases of emacs > 28, is it worth cherry-picking 6019ca9dd2 to the emacs-28 branch? (and > then maybe regenerating the HTML manuals?) Doesn't look important enough to me, on both counts. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 10:04:33 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 14:04:33 +0000 Received: from localhost ([127.0.0.1]:58739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo3Un-0004FS-5p for submit@debbugs.gnu.org; Thu, 27 Oct 2022 10:04:33 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:56347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo3Uk-0004FD-FY for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 10:04:31 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6D41632007E8; Thu, 27 Oct 2022 10:04:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 27 Oct 2022 10:04:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1666879464; x= 1666965864; bh=Z7InsB0nyHmlL88O3Ts1y0pfMDiK+zQrioYC9Hplcp0=; b=H tCPEtMwddeY2Ts+CRgB8VYWGhTSx3Ofu7G55q4nXLVyUB56Latde3LmFsJe5UAvG /Z6aUzIfWivMBlF0RFtwvxHLZ2X3J53l5RrYEMJIv8t4vy1kdElKZ1kGhQlCU0aO 7JPRbjhGC9AXscGhfJBZhPixZKxsjJMB1/AOwUOrTxjB8lTZ6jNGN8dRshv4vmXV WBg29+k9+yA4VAwApeOEgRRUrA9qRmx7bkhYDZpheMYfvfe164TB65JsnL+OS1o4 WSenHBIVPYpfZEmCFQ3gTelFxU0ieBcq/rf9M22+qcQ4PtYxqmG2b3f0gKc+Bx9r T1A3wk7kQRQahbZ4h9wEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666879464; x= 1666965864; bh=Z7InsB0nyHmlL88O3Ts1y0pfMDiK+zQrioYC9Hplcp0=; b=E Nv+m2TqUompVHb2JTHB0EsP7A9OK0+xCF/xrr4pikp1hTDS6+6mrxy5uskaW1gZH vi8ro9LkgDeY7ILk4nw7EahHPJM/pcoNsOyyKJCvacUfaD8oF2ntOTWKeE0ZgYpj fRYq6Bm9wgBib0EgWYhRK2fsV5WXAhSIpRIT8YOIJHDhIGsc7U23v9DKTeoVJUWe P7LSiR69mfaFy+fP2eG6lypXqHpsjEYaShLLL9k6JSddvV1y7kYTU0Pg6xfouJVk BPUUEsG42yXr++MLpmRTIf6sLpi5o5LHquWfLXW2jVAQRyV0jqAIXZCiI7pc9uk1 4SO22QGfMzhtuV4dkZdXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffgffkfggtgfgsehtqh ertddtreejnecuhfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhes fhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepfeelfeffteeiteeuvdettd fgheegveethfeuveejheejleeuiefgvedtiefhueegnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhlrd hfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Oct 2022 10:04:22 -0400 (EDT) From: Filipp Gunbin To: bk@asterio.cloud Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> (bk@asterio.cloud's message of "Wed, 26 Oct 2022 21:30:57 +0200") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 27 Oct 2022 17:04:18 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58807 Cc: 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, On 26/10/2022 21:30 +0200, bk@asterio.cloud wrote: [...] > According to documentation [1] I tried numerous of entries of my user > password in pass: > pass ls > Password Store > =E2=94=9C=E2=94=80=E2=94=80 127.0.0.1 > =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 bk@asterio.cloud > =E2=94=9C=E2=94=80=E2=94=80 bk@asterio.cloud@127.0.0.1 > =E2=94=9C=E2=94=80=E2=94=80 bk@asterio.cloud@localhost > =E2=94=94=E2=94=80=E2=94=80 localhost > =E2=94=94=E2=94=80=E2=94=80 bk@asterio.cloud > Looks like you forgot to gpg-encrypt the files, while the code explicitly looks for them: --8<---------------cut here---------------start------------->8--- (defun auth-source-pass-entries () "Return a list of all password store entries." (let ((store-dir (expand-file-name auth-source-pass-filename))) (mapcar (lambda (file) (file-name-sans-extension (file-relative-name file stor= e-dir))) (directory-files-recursively store-dir "\\.gpg\\'")))) --8<---------------cut here---------------end--------------->8--- I tested using setup similar to yours, but with gpg files -- it worked. Filipp From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 12:28:36 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 16:28:36 +0000 Received: from localhost ([127.0.0.1]:59107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5kC-0001sR-4S for submit@debbugs.gnu.org; Thu, 27 Oct 2022 12:28:36 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5kA-0001sF-Vn for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 12:28:35 -0400 Received: by mail-wr1-f54.google.com with SMTP id z14so3150503wrn.7 for <58807@debbugs.gnu.org>; Thu, 27 Oct 2022 09:28:34 -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:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lA/rRKtL1C28+120YunG+CuVKFzhRprF8MtE6fTnrNQ=; b=Z/GLGAD0MDPpgY3XOczbN/bQo8LbVVtjhTgmtpOAJj/SG1Q4s6hZuDbchtEl/VtPy0 vXCCYyhMHjHtC/IyzRutYTdDVs1nrtZqCc/ZSLH3pASgyqJs4kJYUqH1MqJBzmbJb7lH pv1Z/lkWwftluj26xgL5Cp4QaUuhyFwxia+D7Va6W8hKOCanAxzNH0nQwxPj7VsvcGar 8wQzwuz1iGGVcMKseZl5Eqogz+YnqYbMskVw+qeDp/onPR2BHjUEDZhzhKA9/vx7+R5c sm2UY8A6FaN6cKy8iBfDsbyciESt7cT72IYA+oTDw5hUuyYXv6deLTRR0mNjpg2xuSoh s52g== 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:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lA/rRKtL1C28+120YunG+CuVKFzhRprF8MtE6fTnrNQ=; b=kRoApMkazkvUQYLKnkq8pkW/AlqWFVB4FiRx9nzmr9ZV4p5tCn9PaeTAWjdgapaUDz 2u+ZPHHGW5HgR8iN+EVWxj3PwmKCO5u2oOEXdgsYVUfjVeg79MbNyqwXJGhENJBwHzvK 7v3NM0GhNxz3TvPN9PaSCgqhihW6QpXR3+wvi0lPgAFiiDe9HMKVL/e5inaHKhM7vkou glujboL3AgiTV+PG9nr4I+njpD79MjyAZJnhwhiafgYeSh3tWeYBRac3QQQgAaXm61jH 95QVca2IkSIpcfFCVVhHVSA9d2M2e1BBAmGi7pE2tY+mM+4epbGpN7W30p9u7Fh7TiMQ EimQ== X-Gm-Message-State: ACrzQf3u+NG4UBxwKAJm9vK8IZoO+aP7voWiE/Xs5r4dpOZ8iHSuXiHD 5tYJkzluU7TepYMmyWBlY2qS/3rDc/8= X-Google-Smtp-Source: AMsMyM7RvaQIbZo7Bu/eaXU9hH3tSOB/95Ad9QQKD5cg9iNjwOQV+vzZfPdC6N6uo0042yu4w1w+sg== X-Received: by 2002:a5d:6da9:0:b0:22e:53bd:31c1 with SMTP id u9-20020a5d6da9000000b0022e53bd31c1mr34944959wrs.358.1666888108786; Thu, 27 Oct 2022 09:28:28 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id h2-20020adfe982000000b002322bff5b3bsm1852451wrm.54.2022.10.27.09.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 09:28:28 -0700 (PDT) From: Robert Pluim To: Filipp Gunbin Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: (Filipp Gunbin's message of "Thu, 27 Oct 2022 17:04:18 +0300") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> Date: Thu, 27 Oct 2022 18:28:27 +0200 Message-ID: <874jvptems.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58807 Cc: =?utf-8?Q?Bartosz_Kaczy=C5=84ski?= , .cloud, 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 27 Oct 2022 17:04:18 +0300, Filipp Gunbin said: Filipp> (defun auth-source-pass-entries () Filipp> "Return a list of all password store entries." Filipp> (let ((store-dir (expand-file-name auth-source-pass-filename)= )) Filipp> (mapcar Filipp> (lambda (file) (file-name-sans-extension (file-relative-na= me file store-dir))) Filipp> (directory-files-recursively store-dir "\\.gpg\\'")))) So `auth-source-pass-filename' is actually a *directory*. Perhaps we need an obsoletion and and alias. Filipp> I tested using setup similar to yours, but with gpg files -- it= worked. I saw nothing in Bartosz=CA=BC original bugreport indicating that the files were not gpg encrypted, nor that they were. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 13:55:40 2022 Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 17:55:40 +0000 Received: from localhost ([127.0.0.1]:59273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo76R-0004Hw-QG for submit@debbugs.gnu.org; Thu, 27 Oct 2022 13:55:40 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:53407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo76Q-0004Hg-IW for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 13:55:39 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DCE843200A49; Thu, 27 Oct 2022 13:55:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 27 Oct 2022 13:55:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1666893328; x= 1666979728; bh=I71FP2wglq+8mUoPlvB1R+2Vs72XUanJffhHepnKoPI=; b=X /BKDiCaiWjqPRGAmR4X5Nn8GyTo4kTRxw8m3YZ5DKIeqrskDofIkJDxX7rTJmi0c ytlCRLRx5iB8t3hvGRAsaBSpHFOLYmqvYjC5PPcpQU9MWIUuiUvlLhXZzrS3m9xH dHDcD/yyCLxJF0LrH0uQBGPy83qQZbMm28BmY5Ttk8R0Wc5jHeRWGCgY/ypEb0cl C75UCwd8rqHKQcmPH0L2pc4x5jGIvj/f3dEvL2CAqvRpgwttm7zy7nHS4dFio8u9 Ky1Hsbdf53Okwg7Qbd0c55ZMJHkrBPCVUYRuuntKKfY2XpAb17qGfPsQZmAUWdd3 R02OQOExJfJEQaZDDpzhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666893328; x= 1666979728; bh=I71FP2wglq+8mUoPlvB1R+2Vs72XUanJffhHepnKoPI=; b=S DFaU/9H/FPAidvVFl7+hUh4vMg8C5ALpnk9BfxZZ6fuRwCuWjYjNZv1bL+SPLCWI RgUTjNG6LJibfCN8NnKKwyAp7XZCXUOxAAohlj0fSJDFyLONuQRgIW+5e5X63hTn mDNfT15Cb1XgbeOY5A/KKKdf6a2JUWaastxM28c2MW89JmruzPtGuujrtE+wx8Xd jp4aRC0YGaFibqsFjuf1LcbeH/9x10JAFbIaDHyeXzexNZlvHJHBdknkMP3WRafq 8+QY37MlBqcN8R0Wr6udfiqjifmkeStI0P9W4dZAGYs9XsBEE6R9r00fECbLsyHZ 4XebrLHMrZAYgf4uowusQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefhihhl ihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecugg ftrfgrthhtvghrnhepfeelfeffteeiteeuvdettdfgheegveethfeuveejheejleeuiefg vedtiefhueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Oct 2022 13:55:27 -0400 (EDT) From: Filipp Gunbin To: Robert Pluim Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: <874jvptems.fsf@gmail.com> (Robert Pluim's message of "Thu, 27 Oct 2022 18:28:27 +0200") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <874jvptems.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 27 Oct 2022 20:55:25 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58807 Cc: Bartosz =?utf-8?Q?Kaczy=C5=84ski?= , .cloud, 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 27/10/2022 18:28 +0200, Robert Pluim wrote: >>>>>> On Thu, 27 Oct 2022 17:04:18 +0300, Filipp Gunbin said: > Filipp> (defun auth-source-pass-entries () > Filipp> "Return a list of all password store entries." > Filipp> (let ((store-dir (expand-file-name auth-source-pass-filenam= e))) > Filipp> (mapcar > Filipp> (lambda (file) (file-name-sans-extension (file-relative-= name file store-dir))) > Filipp> (directory-files-recursively store-dir "\\.gpg\\'")))) > > So `auth-source-pass-filename' is actually a *directory*. > Perhaps we need an obsoletion and and alias. > > Filipp> I tested using setup similar to yours, but with gpg files -- = it worked. > > I saw nothing in Bartosz=CA=BC original bugreport indicating that the fil= es > were not gpg encrypted, nor that they were. I thought that these were files/dirs: > Password Store > =E2=94=9C=E2=94=80=E2=94=80 127.0.0.1 [..] But now I see that it's the output of "pass" (never used "pass" or auth-source-pass before). So probably the files are good, and it was really auth-source-forget-all-cached that helped (auth-source-pass-enable does nothing more than modifying auth-sources and calling it). Filipp From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 03:37:45 2022 Received: (at control) by debbugs.gnu.org; 28 Oct 2022 07:37:45 +0000 Received: from localhost ([127.0.0.1]:60245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooJw1-0004KC-Do for submit@debbugs.gnu.org; Fri, 28 Oct 2022 03:37:45 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:42710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooJvz-0004Jy-VZ for control@debbugs.gnu.org; Fri, 28 Oct 2022 03:37:44 -0400 Received: by mail-wr1-f53.google.com with SMTP id bp11so5828858wrb.9 for ; Fri, 28 Oct 2022 00:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=zCI607iTyWUgQEmjrO3trsORb8/2EkgnjTjJKc9WiCA=; b=DY3G1My38F0lbuTtUKq+e/qU2XyyXadroQBRNvFXOcb1FUVkt4MymCwg2tbMjpu81X DayajFGkQkimO3RM5zNt7+JIpHFA6FBB9zPLlYZrblcxO296DSwPRHVuiRf3P+M33z36 Deyrzi5nnFYqasf0nVm54AUKC1okr4avsrNhFSZBHN2oefqTZrj1vmHY5GTYuKE8ExFd KhEzDYemWhydsakG0kv8vgRSEuVAxnxw79hJRKLIxiga9O2ZsZOLBBXSslTH7WAPl4yX PnMtLBJXNXxPhvn2DKdNefjZHAPF+sy9pIc0ce+ah4/vBsP3GeZL9kCsZTv66xCGpfiO DJXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zCI607iTyWUgQEmjrO3trsORb8/2EkgnjTjJKc9WiCA=; b=2eO6f0gN4/zXCaQLFr0W4gjmBzT9ibISpRB8EtNo9CM2myCdXH2K+S3tW4V6+KMF0R HBm4p2XSLrZW5nlOZt3lFlK6UXH/AlviGHU+xTlsv1His9syX+t2IGG7rVZQBSXMvCX9 W1PeE53IEGYQ3FMDMQ6t9hBOcwi2brVyGX0PjCGjqsVMPaA5xKwR6uwkZ1dPUnDlyzVm NKFuM4JffoUCWV/JTNMhkT3mc4tcWLIqvgBpAo8LbzxmFvq5B9SehrYsW2y8255Js65A 0EEROqJnULhWXEEPCXCoRKkM4BIrR2uNBZWpKZYAhfHph05K447qduBDypviA7MmNQ90 yaCg== X-Gm-Message-State: ACrzQf2ES+FC/A1nYxbxsWURXQ6ChLoLCv5/s1VcKTPF44cUKc5H8a3l Bsv54crDjH2bqRYG7Ne/t8WIBDWG3K4= X-Google-Smtp-Source: AMsMyM7Vyh5CcXbMu8V1EUpCUSCffVd5WZOu0KISuusADbR14EvHVbuolyRd4KzLvpNh2UjkNdtO9A== X-Received: by 2002:a05:6000:699:b0:236:65a9:91b7 with SMTP id bo25-20020a056000069900b0023665a991b7mr19866077wrb.591.1666942657393; Fri, 28 Oct 2022 00:37:37 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id l9-20020a1c7909000000b003cf4006a9casm3354955wme.39.2022.10.28.00.37.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 00:37:36 -0700 (PDT) From: Robert Pluim To: control@debbugs.gnu.org Subject: control message for bug #58807 Date: Fri, 28 Oct 2022 09:37:36 +0200 Message-ID: <87eduss8jj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 58807 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 03:38:39 2022 Received: (at 58807) by debbugs.gnu.org; 28 Oct 2022 07:38:39 +0000 Received: from localhost ([127.0.0.1]:60251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooJws-0004Lw-NL for submit@debbugs.gnu.org; Fri, 28 Oct 2022 03:38:38 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:41677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooJwq-0004Lk-Rj for 58807@debbugs.gnu.org; Fri, 28 Oct 2022 03:38:37 -0400 Received: by mail-wr1-f43.google.com with SMTP id w14so5833599wru.8 for <58807@debbugs.gnu.org>; Fri, 28 Oct 2022 00:38:36 -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:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=wLR0KP6MBh9AFmtcVwNuVjD4OPrffF4lPmkfiABrY4g=; b=GoVFIpEX2TzTYTf+8H5CVvDXQD5VeBRJOPXybkPIy/GHT1h+ip6kQgwbMV/XqLvFr+ Jer8G8CvCUDEKo+odzcL4uG4aBWG0FsUeNIPr91WNBOlBGYr959SH9KpsmNj24a+Ej5U MIrGlFR48WtMpmmVTJim3U55DJN+SYVa5wj/AT6qBct6Qql0RI5yVjc3jH4SNaGMB/02 JALqqiC7MVz72rseuoMFm+MXzLwwAurSQIYrCS5fDul/nmDdYLA3kLkymabJCe3Iq5fc uivpDz6o8U6JPmykae49T6IteO0aL/CPEhUwPIVSoiVwcTv4B7MZM97P9hgukQlQUsw1 PTnQ== 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:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wLR0KP6MBh9AFmtcVwNuVjD4OPrffF4lPmkfiABrY4g=; b=smIepLYvBW82XP7tLSa0xaRrsUygnEWWmhOyzjtjeTGoOaJJznY5VLeoNvEBZy78TE Ih7c6wkfKNrfQbLEh99QZpykeM8tQ8yheGhGNmOMoBsDqrwqSljmLPRn93aNZIDV6fvt vGZvyjck2SAy9thVbYuWAlplLm3wgNKfRiWNH9WODaLTiEawZXTf8dC/WsB+K6E3VZN5 w9tvCd2U+AdgZOz3IV25IkqXTWkh4NAvQCjbTc5P3owFx7WKbzVmBARAmib/IS/bp1jb x0Bl2/h5tu3cVyR2PTyRmCbFEQogL48Evzqg0npvYAxqn+LW553jFQVraQkKIoyWFbse dxlQ== X-Gm-Message-State: ACrzQf2XKhjRIiK1uWDXcrGQQs8VR1J+VyzoSQznLs7MgSVIV0QmHV8n JYJsudgZyBIAUOzY/90Lw2cIkEeOmWQ= X-Google-Smtp-Source: AMsMyM5gub4o3blf1+jiMmIebsa+BblscqtCAY8HO5Pl+xEoEmCKJpQiDcxhJAUFvWblSmIDV7p7Jg== X-Received: by 2002:a5d:6d89:0:b0:236:7d7d:1e79 with SMTP id l9-20020a5d6d89000000b002367d7d1e79mr12596554wrs.673.1666942710822; Fri, 28 Oct 2022 00:38:30 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id ay19-20020a05600c1e1300b003a1980d55c4sm6942217wmb.47.2022.10.28.00.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 00:38:30 -0700 (PDT) From: Robert Pluim To: Filipp Gunbin Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source In-Reply-To: (Filipp Gunbin's message of "Thu, 27 Oct 2022 20:55:25 +0300") References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <874jvptems.fsf@gmail.com> Date: Fri, 28 Oct 2022 09:38:29 +0200 Message-ID: <87a65gs8i2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58807 Cc: Bartosz =?utf-8?Q?Kaczy=C5=84ski?= , 58807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 27 Oct 2022 20:55:25 +0300, Filipp Gunbin said: Filipp> So probably the files are good, and it was really Filipp> auth-source-forget-all-cached that helped (auth-source-pass-ena= ble does Filipp> nothing more than modifying auth-sources and calling it). Yep. I=CA=BCm closing this bug. Robert --=20 From unknown Sat Jun 21 03:31:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Nov 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator