From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#30246: 25.2.50; auth-source does not support creation or deletion with secrets provider Date: Sat, 8 Sep 2018 16:51:19 -0700 Message-ID: References: <87y3kmdz93.fsf@gmx.de> <87efjjns09.fsf@gmx.de> <87muswgw3d.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536450614 30530 195.159.176.226 (8 Sep 2018 23:50:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 23:50:14 +0000 (UTC) Cc: Allen Li , 30246@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 01:50:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fymzQ-0007pC-5F for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2018 01:50:08 +0200 Original-Received: from localhost ([::1]:45510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyn1W-000685-2H for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2018 19:52:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyn1L-00067z-Vk for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 19:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyn1H-0003gp-BE for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 19:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyn1H-0003gF-4F for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 19:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fyn1G-0005M7-VU for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 19:52:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Sep 2018 23:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 30246-submit@debbugs.gnu.org id=B30246.153645069820549 (code B ref 30246); Sat, 08 Sep 2018 23:52:02 +0000 Original-Received: (at 30246) by debbugs.gnu.org; 8 Sep 2018 23:51:38 +0000 Original-Received: from localhost ([127.0.0.1]:50684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyn0s-0005LN-HU for submit@debbugs.gnu.org; Sat, 08 Sep 2018 19:51:38 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:40101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyn0p-0005L8-V9 for 30246@debbugs.gnu.org; Sat, 08 Sep 2018 19:51:36 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id h23-v6so24312869ita.5 for <30246@debbugs.gnu.org>; Sat, 08 Sep 2018 16:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bXPkoYIXVn69KsER9Rm6ht62gl1EBbm1lSJf5i9wwFA=; b=0qqx63HGaaA9j3CO6CJe1O1CGOO/u+alOJ/wBWk2mT4J+6kabwiuxpc48Jr36V5mP3 4r13/axx9KB+UBa682y93rGjOH2F2FMcRCy28lP0mhdo2zgkD+B8qX+33/MLZ9+JeKPI TbKWCO0QrLn83pswdqLBhjZbe8Z//PBheRn8a8qm7hw9WWiZNAvYqsIFvo4D1EduAnvJ ElaaApfEZKFdM1rxb6PuG5D1Ua+koHByUleGd8aA49r8rxjTHO62VuWy9iZS7EL0yOdE V82qT+WtfhwdrbIN27Coy7Col3cLrEq+n05VAa1LRLBYX5NQ0D99DyJ0pwKPVZF43SWB 0/Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bXPkoYIXVn69KsER9Rm6ht62gl1EBbm1lSJf5i9wwFA=; b=swpt+o4ZPQ1ZSemlK1oiPLkpO+XAhE237SpqH1wDC6ExhD5YHirV0/b6sBGfOqrl6F UyjiPEwTCBgzTMe5TuUvYGombcPXpscEdocmQSGbvcV0oHMy5//QqVb/I2HD0ETqgpM+ KiPdRbO5rEn5z+1EalLLVdW0WvwlIsluNKHiMnWBepiNDmzX6KwpgnpHlsq3JKETB+EE LqbTHw5hXA5J1g69Xfq0vxusbu3aLrbQ8OrYG4DLcaSeWhY12N653BwGijIHbsgKn2qo INYXFmSIw8jfWQs018ynRxXSwM01jj3SjBoaulzpx49mlzmkwpfu/fkVQNqCIyITJ8hL IZgg== X-Gm-Message-State: APzg51BYPqom5TzkdLCU9AhmhdK41voUuiyE7SInkWZ+wT14RAU1txas 8CUDAt0DkiOdw9LtJ2AYZjncHq4rVf/MmJ3zuaXcBw== X-Google-Smtp-Source: ANB0VdZj30CYS2sldmKh/LVp41gQQbqu9LauaEIXxFcouREAWBKr274SdsEMgphCg3kI4HMWZI41dXnIO75FQPA5R08= X-Received: by 2002:a24:1c0a:: with SMTP id c10-v6mr12468504itc.101.1536450690194; Sat, 08 Sep 2018 16:51:30 -0700 (PDT) In-Reply-To: <87muswgw3d.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150137 Archived-At: On Wed, Sep 5, 2018 at 1:57 AM Michael Albinus wrote: > > Could you test it by any chance in Emacs 27? If not, I'll close the > bug. You could still report later if it doesn't work as expected. It looks like secret creation works now, however I can't seem to retrieve the secret. I can file a separate bug for that if you want. (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 Also, deletion still isn't supported: (auth-source-delete :host "example.com" :user "bob") (cl-assertion-failed ((not delete) "The Secrets API auth-source backend doesn't suppor...")) > > Best regards, Michael.