]> git.eshelyaron.com Git - emacs.git/commit
Let Tramp save passwords
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 23 Apr 2018 08:16:06 +0000 (10:16 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 23 Apr 2018 08:16:06 +0000 (10:16 +0200)
commit0ecc10a7771bf1f62d15b2e6c747bee9f7a557ff
tree7547eb4f8b8282b88d811189b26fa6dc42d06d77
parente7044d294c1b1779b3124b27ba0f09b22b64df20
Let Tramp save passwords

* lisp/auth-source.el (auth-source-secrets-saver): New defun.
(auth-source-secrets-create): Use it.

* lisp/net/secrets.el (secrets-struct-secret-content-type):
(secrets-create-item): Do not hard-code :xdg:schema.

* lisp/net/tramp.el (tramp-password-save-function): New defvar.
(tramp-read-passwd): Set it properly.
(tramp-process-actions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
Save password.

* lisp/net/tramp-cmds.el (tramp-bug): Don't report
`tramp-password-save-function'.

* test/lisp/net/secrets-tests.el (secrets-test03-items):
Extend test with another :xdg:schema.
lisp/auth-source.el
lisp/net/secrets.el
lisp/net/tramp-cmds.el
lisp/net/tramp-gvfs.el
lisp/net/tramp.el
test/lisp/net/secrets-tests.el