alphapapa / alphapapa/ement.el

Saving session tokens by default? (or: other ways to save login info)

未关闭
#132 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
discussion enhancement help wanted
主要语言
Emacs Lisp
星标
604
派生
54
PR 合并指标
30 天内没有已合并 PR

描述

I have stored my credentials in my `.authinfo.gpg` file, it would be nice to be able to have ement use those credentials. For example, this call will lookup the password:

(auth-source-pick-first-password :host "element.io")

or to be more specific in the event of multiple "element.io" passwords:

(auth-source-pick-first-password :host "element.io" :user "@me:matrix.org")

In theory, the user would type in their username on connect, then if one of the above incantations didn't return a password, prompt the user for their password and maybe offer to store it in their `.authinfo.gpg` file, if `gnupg` is installed. (maybe checking with:

(executable-find "gpg")

and then not offering to store the password if that command returns `nil`).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。