Questions tagged [authinfo]

16 questions
5
votes
2 answers

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 :PROPERTIES: :engine: mysql :dbhost: localhost …
Peter
  • 235
  • 1
  • 6
4
votes
2 answers

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 username or password. However, now I'm prompted…
Phil
  • 533
  • 4
  • 17
4
votes
0 answers

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 whenever I open Gnus for the first time, I get asked…
andreas-h
  • 1,559
  • 13
  • 22
2
votes
1 answer

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 for use with Emacs for database logins - using…
Phil
  • 533
  • 4
  • 17
2
votes
1 answer

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
  • 329
  • 1
  • 8
1
vote
1 answer

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 outlook.office365.com login me@somewhere.com password…
singingfish
  • 131
  • 3
1
vote
2 answers

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" smtpmail-auth-credentials (expand-file-name…
mac
  • 225
  • 1
  • 13
1
vote
1 answer

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 my init.el was (let ((erc-plist (car…
0
votes
1 answer

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 trying to encrypt an .authinfo file within emacs but…
chez93
  • 1
0
votes
0 answers

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 'basic jiralib2-user-login-name …
anquegi
  • 739
  • 5
  • 21
0
votes
0 answers

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 working as expected from VTerm whenever I run Pass…
0
votes
1 answer

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/$USER/.authinfo.gpg: (When finding a file with…
Daanturo
  • 180
  • 8
0
votes
1 answer

`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. This is my slack configuration: (let ((auth1 (car…
Namudon'tdie
  • 159
  • 6
0
votes
1 answer

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 magit to use username and password from my .authinfo…
prash
  • 200
  • 1
  • 6
0
votes
1 answer

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. My emacs verison is: GNU Emacs 26.3 (build 2,…
Caleb Jay
  • 239
  • 2
  • 12
1
2