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: Wed, 24 Jan 2018 16:56:26 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1516841723 26761 195.159.176.226 (25 Jan 2018 00:55:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2018 00:55:23 +0000 (UTC) To: 30246@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 25 01:55:19 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 1eeVon-0005t4-98 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jan 2018 01:55:05 +0100 Original-Received: from localhost ([::1]:59578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeVqn-00022P-IT for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jan 2018 19:57:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeVqh-0001zw-8D for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:57:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeVqg-00025A-Bl for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:57:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeVqg-000254-7T for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eeVqg-0004WC-1K for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jan 2018 00:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151684179817336 (code B ref -1); Thu, 25 Jan 2018 00:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jan 2018 00:56:38 +0000 Original-Received: from localhost ([127.0.0.1]:41571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeVqI-0004VY-3n for submit@debbugs.gnu.org; Wed, 24 Jan 2018 19:56:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeVqF-0004V4-Py for submit@debbugs.gnu.org; Wed, 24 Jan 2018 19:56:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeVq9-0001r5-N8 for submit@debbugs.gnu.org; Wed, 24 Jan 2018 19:56:30 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eeVq9-0001qu-JH for submit@debbugs.gnu.org; Wed, 24 Jan 2018 19:56:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeVq8-0001ut-Bi for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:56:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeVq7-0001qB-G7 for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:56:28 -0500 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:43332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeVq7-0001q0-Bj for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2018 19:56:27 -0500 Original-Received: by mail-qt0-x229.google.com with SMTP id s3so15264567qtb.10 for ; Wed, 24 Jan 2018 16:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=L8EghQBtTkODVF6V7ThGj+07TwOOlzNCRrO1EBoETfA=; b=rPebsCZTZOJFwRIcdyiLTyLJJgwoWQT2Xhqup80z6LvGB9xZ3x2EpButZKKZ6r55us boy7rb/MrB7hVbxFOIRkLx4jjtOpfNK+PVTQQ8wX8uI5gRyiFjTU87+0YRb65PWDVHht +kk5KnuYO7/UMDd4T3IVklGo/LibmPzxFcP8RBX+51mPY0Ye1slDYExrFQVKleyG9yYN jgtjSuZY31GdWr1s/NztfMsp1+uYNjCo/Xi8gkc65gqqulPT40gYfrCiUcRxhX1E5RX8 26BKMNf7PxEBpGAKqDXolro7whqWjwRxRtX9VR7Z6DbPlU+bWimm/s9Ap4a5SPpHSr/1 kkeg== 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=L8EghQBtTkODVF6V7ThGj+07TwOOlzNCRrO1EBoETfA=; b=nEDM5S41hOLnvo+Z49PrcF+8DGNSK+2UlxVyPmlveNwJKWrssZgrpbfvmD5QCGpawc fkkiJYPq3dVzrgVl35A/enocO/3kpiLUTBtM9Na26OnmUWywRNJO+0tRqJ3zFQgIYDRb TsliKnaZvYF4kYa6fq/ht10+A7xTDEoPv1rT3A7LUAk5bEbA56U73JenH6ngxlfy8k1t 9lNtLIxVZzilUQ5/TOAgl/Ks1Ykjg2H+LVR0YOA78zm5YvGucMjjXYmG3Qcm/pvPo6aF Hj3nH9NZLakWG51vyRmCDCC5Ph2safP4TOCD0YnalhUFirs1zSTrTHzmxWrRix0uodaJ p6IA== X-Gm-Message-State: AKwxytdKUnyEURm5n0uLjFIk9kicrI6iPxw6pdPd2MliBU3XDQlmc9Ws oK6PpdCzWzI6WSUHrMTsliaLobBXKs11oUCeuF9avn2q X-Google-Smtp-Source: AH8x225udIoFBd0rHxvPhNNfuqonxgm0f1wuYxiQ85RNEJhsRGqvZWAlDGosFKg+IsLptWY1emS/tlUvxgvbXcN+Yuw= X-Received: by 10.200.81.139 with SMTP id c11mr13506940qtn.118.1516841786430; Wed, 24 Jan 2018 16:56:26 -0800 (PST) Original-Received: by 10.237.34.203 with HTTP; Wed, 24 Jan 2018 16:56:26 -0800 (PST) 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-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:142494 Archived-At: auth-source does not support saving secrets with the Secrets API backend. This reduces the usefulness of auth-source significantly since keychains that provide secure secret storage using the API are standard on many GNU/Linux distributions (e.g., gnome-keyring on Ubuntu). (auth-source-search :type 'secrets :max 1 :host "localhost" :user "user" :create '(secret user host)) Debugger entered--Lisp error: (cl-assertion-failed ((not create) "The Secrets API auth-source backend doesn't support creation yet")) cl--assertion-failed((not create) "The Secrets API auth-source backend doesn't support creation yet" nil nil) auth-source-secrets-search(:backend [eieio-class-tag--auth-source-backend secrets "Login" t t t nil auth-source-secrets-create auth-source-secrets-search] :type secrets :max 1 :require nil :create (secret user host) :delete nil :type secrets :max 1 :host "localhost" :user "user" :create (secret user host)) apply(auth-source-secrets-search :backend [eieio-class-tag--auth-source-backend secrets "Login" t t t nil auth-source-secrets-create auth-source-secrets-search] :type secrets :max 1 :require nil :create (secret user host) :delete nil (:type secrets :max 1 :host "localhost" :user "user" :create (secret user host))) auth-source-search-backends(([eieio-class-tag--auth-source-backend secrets "Login" t t t nil auth-source-secrets-create auth-source-secrets-search]) (:type secrets :max 1 :host "localhost" :user "user" :create (secret user host)) 1 (secret user host) nil nil) auth-source-search(:type secrets :max 1 :host "localhost" :user "user" :create (secret user host)) eval((auth-source-search :type (quote secrets) :max 1 :host "localhost" :user "user" :create (quote (secret user host))) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) #(eval-last-sexp nil nil) apply(# eval-last-sexp (nil nil)) call-interactively@ido-cr+-record-current-command(# eval-last-sexp nil nil) apply(call-interactively@ido-cr+-record-current-command # (eval-last-sexp nil nil)) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp)