Skip to main content

Questions tagged [authinfo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
107 views

How to send email from Emacs using smtp library and SSL with authentication?

So I first time reported a bug from Emacs and but sending emails was not working. I send the email from my email client but I would like to setup Emacs to allow sending emails. And I can't find any ...
jcubic's user avatar
  • 763
0 votes
1 answer
262 views

How do encrypt and decrypt file using gpg in emacs using passphrase?

Hope all is well. I am setting up mu4e on emacs and I got but when I try to send an email I cant because my .authinfo.gpg is not being decrypted. it says that it cant find the key. But I remember ...
chez93's user avatar
  • 1
0 votes
0 answers
67 views

How to use Emacs Pinentry with Org-mode Bash source Blocks?

Main Problem I wanted to be more secure and convenient with my passwords and encryption so I have been trying to make GPG with Emacs work for my password store and SSH agent. I have Emacs-Pinentry ...
Zain Jabbar's user avatar
2 votes
2 answers
344 views

Storing Database Authentication Details Securely

(Note: I would normally use gpg versions of these files but for debugging I've scrapped gpg until I can get it working without encrypting!) I'd like to store my username/password credentials securely ...
Phil's user avatar
  • 535
0 votes
1 answer
415 views

How to avoid using auth-sources when editing with sudo?

When I invoke crux-sudo-edit, Emacs hangs forever with the following message: Decrypting /home/$USER/.authinfo.gpg...0% until I press C-g, then it asks: Passphrase for symmetric encryption for /home/$...
Daanturo's user avatar
  • 180
0 votes
1 answer
218 views

`auth-source-search` cannot deal with multiple consecutive searches

I am a heavy user of https://github.com/yuya373/emacs-slack, and I noticed a weird behavior of auth-source-search: If I call this function multiple times, querying the second info always returns nil. ...
Namudon'tdie's user avatar
0 votes
1 answer
648 views

How to use authinfo credentials with Magit to push/pull to Overleaf

Overleaf allows git for some users. I have been using emacs and magit with overleaf since some time by providing username-password at each git push or git pull. What I want Now I want to configure ...
prash's user avatar
  • 200
2 votes
1 answer
2k views

Unable to authenticate sending mail using smtpmail-send-it to gmail, "Username and Password not Accepted"

I would like mu4e to use smtpmail-send-it to send emails from emacs. I would like smtpmail-send-it to authenticate using pass. I have 2factor auth on my gmail account, so I have to use an App Password....
Caleb Jay's user avatar
  • 319
1 vote
1 answer
320 views

remembering auth details for excorporate with .netrc

I've set up excorporate mode so that I can use emacs to read my outlook calendar. However I am annoyed by having to input a username/password every time I open emacs. I tried a .netrc: machine ...
singingfish's user avatar
1 vote
2 answers
2k views

authinfo.gpg but still promted for smtpmail credentials

I have the following in my init.el: (require 'smtpmail) (setq message-send-mail-function 'smtpmail-send-it smtpmail-stream-type 'starttls smtpmail-default-smtp-server "smtp.gmail.com" ...
mac's user avatar
  • 225
1 vote
1 answer
102 views

Using an advice to set default parameters in a interactive function

I'm not sure if this is possible or if there's a workaround for it, but I want M-x erc to set the password after I try to call it, but before I input the actual parameters. What I originally had in ...
YuriAlbuquerque's user avatar
4 votes
2 answers
1k views

Using auth-source with magit and bitbucket

The code base I'm working on has recently moved from ssh key controlled git to https bitbucket. I use Magit to handle my version control in Emacs. In the old ssh world I was never challenged for my ...
Phil's user avatar
  • 535
2 votes
1 answer
299 views

How can I create secrets for use with the Secrets API auth-source?

Trying to create new secrets in the GNOME keyring via auth-source results in The Secrets API auth-source backend doesn’t support creation yet How can I manually create this secret?
Felipe's user avatar
  • 329
5 votes
2 answers
717 views

Org-mode header properties from .authinfo.gpg?

I was just looking at This literate SQL / org-mode example and see that org-mode supports username and password fields in a SQL source code block. As illustrated there: ** MySQL Analysis :...
Peter's user avatar
  • 235
0 votes
0 answers
772 views

`auth-source-search` returns nil for valid queries

In trying to debug auth failures from something that should be getting its auth info from auth-sources, I noticed an extremely weird thing: auth-source-search frequently returns nil for valid queries -...
Gastove's user avatar
  • 1,551
4 votes
0 answers
103 views

How to prevent gnus from unlocking my GnuPG key

I'm using Gnus to read newsgroups via nntp. I am using mu4e to read and send e-mails. My e-mail server credentials are stored in ~/.authinfo.gpg so that mu4e can access them. My problem is that ...
andreas-h's user avatar
  • 1,569