Questions tagged [authinfo]
The authinfo tag has no usage guidance.
16
questions
0
votes
1
answer
79
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 ...
0
votes
0
answers
47
views
How to use authinfo gpg when configuring a package with use-package
I want to use ejira in conjuntion with use-package as suggested in the readme:
(use-package ejira
:init
(setq jiralib2-url "https://jira.mycorp.com"
jiralib2-auth ...
0
votes
0
answers
58
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 ...
2
votes
1
answer
199
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 ...
0
votes
1
answer
315
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/$...
0
votes
1
answer
173
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.
...
0
votes
1
answer
582
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 ...
0
votes
1
answer
1k
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....
1
vote
1
answer
299
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 ...
1
vote
2
answers
1k
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"
...
1
vote
1
answer
97
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 ...
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 ...
2
votes
1
answer
269
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?
5
votes
2
answers
665
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
:...
0
votes
0
answers
673
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 -...
4
votes
0
answers
102
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 ...