From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 12 18:21:04 2018 Received: (at submit) by debbugs.gnu.org; 12 Sep 2018 22:21:05 +0000 Received: from localhost ([127.0.0.1]:38522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0DVQ-0003An-Mf for submit@debbugs.gnu.org; Wed, 12 Sep 2018 18:21:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0DVN-00039v-SP for submit@debbugs.gnu.org; Wed, 12 Sep 2018 18:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0DVH-0003sD-HC for submit@debbugs.gnu.org; Wed, 12 Sep 2018 18:20:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0DVH-0003s7-D6 for submit@debbugs.gnu.org; Wed, 12 Sep 2018 18:20:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0DVG-00017J-Km for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 18:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0DVF-0003rl-T9 for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 18:20:54 -0400 Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:35181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0DVF-0003rS-Ke for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 18:20:53 -0400 Received: by mail-it0-x236.google.com with SMTP id 139-v6so5284546itf.0 for ; Wed, 12 Sep 2018 15:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=P3keUEn6vJeKFExILqQ1ETs7DIrgRoz2keFatDi0Yco=; b=SffRUdsyFZ+NtyNpyfq5dNWCik33JG5BgwutdgAXMrbT2sfhekiXQobwNThfT2R/lv gdhE9aVcNVidZ3PLRhnDF58Hc90AKuX/pUNw33VCKtfq/T9AMDCY1gvjp9USDtOf3HQc M0GH/DrJJJiTuKzsyTjM+0N4d2KrVP35IsVgHLJfhtu+AX6K5OaJ1xt6tHkOaTEcTKI8 awvNQ29fSMuwg0RJT46il6znHT3X71rUUrxinDqlwRnG1RR5oNsxzXNGE6aNAjs8dzwY s0hPnETVlsRjmSQgPXvSglwEHQBUAw3nB3m6PKH36mfTDe0H6c4QKUB0NlKI6CnrSlEm iqiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=P3keUEn6vJeKFExILqQ1ETs7DIrgRoz2keFatDi0Yco=; b=L8j3awpitoUr7rCmK7kKA0EK/tI7/UUGi3wHb+9UByNVTZzQKmaHbOhUyFlEFYvp/y izq6DZFed7asw54h4Lk2qU3goPcqC+ClpogwCDtOvW1ocW6Age/GzduyaN8QQvluPqBV ETAud5k894FI4KEOaTLUYiTzwA8q7T6kx5118oXIUEErcmF68e1nKTx6HPkaKaTtIdgm BugA/w6J+gl6AY5b3pI06V0z7Qyl2Bu/VkDpiiW4hzd8IYF1PlOiehzQ7sJNpTkwpjNX Bq1a7zvrWaxVd8pzzK8hZe9rrM/LTXVTQKOkpx7b/Ebi3+M/9tNJ90YRWGpkLHNHPJGB k3Dg== X-Gm-Message-State: APzg51Bdd0X3Gp8PXFPMPKvDSaH5YJmdVOdQgTNW3oevxdtYKciX3cT3 NLKMDznsv+QBGtK99SmSDK5cqEAcQ7abJZ2xz6uU/wj4+bk= X-Google-Smtp-Source: ANB0VdZAC43gUqNkkLLueMb/JaSnkIRoNX7/0KTkI3swh1HbYM+V279HUu+sigofpDoZLmc4+cZTpkyKMBLFidLMUuU= X-Received: by 2002:a02:8808:: with SMTP id r8-v6mr3883306jai.89.1536790852299; Wed, 12 Sep 2018 15:20:52 -0700 (PDT) MIME-Version: 1.0 From: Allen Li Date: Wed, 12 Sep 2018 15:20:41 -0700 Message-ID: Subject: 26.1; auth-source does not return newly created entries To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) New bug filed per discovery in #30246 (auth-source-search :host "example.com" :user "bob" :secret "password" :create t) After calling the returned save function, I can confirm that the secret is created: $ secret-tool search --all --unlock host example.com user bob [/org/freedesktop/secrets/collection/login/484] label = bob@example.com secret = password created = 2018-09-08 23:35:47 modified = 2018-09-08 23:35:47 schema = org.freedesktop.Secret.Generic attribute.host = example.com attribute.user = bob However I cannot seem to retrieve it using auth-source: (auth-source-search :host "example.com" :user "bob") nil Per Michael Albinus: > I could reproduce it locally. And I could reproduce it also with another > backend, "~/.authinfo". However, if I start a new Emacs session, > > (auth-source-search :host "example.com" :user "bob") > > returns a valid result. In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.24), modified by Debian Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04 LTS) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 22:29:01 2019 Received: (at 32725) by debbugs.gnu.org; 13 Jul 2019 02:29:01 +0000 Received: from localhost ([127.0.0.1]:41065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7mW-00057c-Tp for submit@debbugs.gnu.org; Fri, 12 Jul 2019 22:29:01 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7mT-00057Q-G4 for 32725@debbugs.gnu.org; Fri, 12 Jul 2019 22:29:00 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hm7mO-0004ZV-Vn; Sat, 13 Jul 2019 04:28:55 +0200 From: Lars Ingebrigtsen To: Allen Li Subject: Re: bug#32725: 26.1; auth-source does not return newly created entries References: Date: Sat, 13 Jul 2019 04:28:52 +0200 In-Reply-To: (Allen Li's message of "Wed, 12 Sep 2018 15:20:41 -0700") Message-ID: <878st21xcr.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Allen Li writes: > New bug filed per discovery in #30246 > > (auth-source-search :host "example.com" :user "bob" :secret "password" > :create t) > > After calling the returned save function, I can confirm that the > s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32725 Cc: 32725@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 (-) Allen Li writes: > New bug filed per discovery in #30246 > > (auth-source-search :host "example.com" :user "bob" :secret "password" > :create t) > > After calling the returned save function, I can confirm that the > secret is created: [...] > However I cannot seem to retrieve it using auth-source: > > (auth-source-search :host "example.com" :user "bob") > nil [...] >> I could reproduce it locally. And I could reproduce it also with another >> backend, "~/.authinfo". I tried this now with the authinfo backend, and the search does return the credentials, so it seems like this has been fixed now in Emacs 27, and I'm closing this bug report. If this isn't the case, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 22:29:05 2019 Received: (at control) by debbugs.gnu.org; 13 Jul 2019 02:29:05 +0000 Received: from localhost ([127.0.0.1]:41069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7mb-00058I-6k for submit@debbugs.gnu.org; Fri, 12 Jul 2019 22:29:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7mZ-000589-KP for control@debbugs.gnu.org; Fri, 12 Jul 2019 22:29:03 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hm7mX-0004Zl-3C for control@debbugs.gnu.org; Sat, 13 Jul 2019 04:29:03 +0200 Date: Sat, 13 Jul 2019 04:29:00 +0200 Message-Id: <877e8m1xcj.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32725 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 32725 fixed close 32725 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) tags 32725 fixed close 32725 27.1 quit From unknown Tue Aug 19 04:06:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Aug 2019 11:24:05 +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