Auth sources pass authentication against GMail in Gnus reddit / emacs ---------------------------------------------------------------------- AsterOps · 2022-02-01 18:53 I try to migrate my `~/.authinfo` file into [pass manager](https://www.passwordstore.org/) and I know that [auth-source- pass](https://github.com/DamienCassou/auth-source-pass) is now part of Emacs but I cannot successfully connect to my gmail (or any other mail) account in Gnus. I tried various [syntax](https://www.gnu.org/so ftware/emacs/manual/html_mono/auth.html#The-Unix-password-store) of my pass entries in my manager but during starting Gnus I still receive warning about failed connection. My pass tree in different ways: .password-store/ │ └─ gmail    ├── @gmail.com.gpg    ├── imap.gmail.com    │   └── .gpg    └── smtp.gmail.com    └── .gpg Is it adding port necessary? I saw [this](https://www.reddit.com/r/ema cs/comments/o4g7dv/can_i_integrate_pass_the_password_manager_into/?utm _source=share&utm_medium=web2x&context=3) post but it doesn't provide to me complex answer. I am not gnus hacker so I tried to setup Gnus according to [wiki](https://www.emacswiki.org/emacs/GnusGmail). ---------------------------------------------------------------------- Danrobi1 · 2022-02-01 21:01 All I know about Gnus setup is [here](https://old.reddit.com/r/emacs/c omments/sf2oc6/templemacs/huosl3j/?context=3) It might help you, idk. ---------------------------------------------------------------------- lostcoffee · 2022-02-02 04:02 Is `password-store` in your `auth-sources`? If so, have you tried using `auth-source-search` yourself to try to access one of your passwords? This manual may help: https://www.gnu.org/software/emacs/manual/html_mono/auth.html ---------------------------------------------------------------------- redguardtoo · 2022-02-02 05:08 See https://github.com/redguardtoo/mastering-emacs-in-one-year- guide/blob/master/gnus-guide-en.org Search `.authinfo.gpg`. Since Emacs has built in support for GnuPG (gpg), you don't need "pass manager" ---------------------------------------------------------------------- AsterOps · 2022-02-02 08:03 Yes, my auth source configuration below: (use-package auth-source :config (setq auth-sources '(password-store)) (setq auth-source-debug 'trivia)) And then after trying to connect in Gnus I see a lot of more [output](https://pastebin.com/mst79P2u) So as we see the `auth-source` knows about `password-store` backend but cannot find corresponding entry because of wrong syntax. I try to fix it and give update :)