3 votes
Accepted

authinfo.gpg but still promted for smtpmail credentials

The auth-source lookup done by smtpmail uses the smtpmail-smtp-service port as well, so you need to specify '587' in .authinfo.gpg (although personally I advocate for using port 465 and a stream-type ...
rpluim's user avatar
  • 4,660
3 votes

Using auth-source with magit and bitbucket

The prompt I see without any configuration is: Password for 'https://[email protected]': this corresponds to the used remote url: https://[email protected]/tarsius/foobar.git I then added ...
tarsius's user avatar
  • 25.3k
3 votes

Org-mode header properties from .authinfo.gpg?

Thanks to Marco Wahl and this emacs documentation I came up with the following emacs-lisp to put in the PROPERTIES drawer: :PROPERTIES: ... :header-args: :dbpassword: (funcall (plist-get (nth 0 (auth-...
pboynton's user avatar
2 votes
Accepted

Org-mode header properties from .authinfo.gpg?

You could use a suitable lisp-function which returns the suitable string. E.g. if you already had function `my-secret-password' which picks the password for a user, you could write ** MySQL Analysis :...
Marco Wahl's user avatar
  • 2,796
2 votes
Accepted

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

This is the same question as discussed in https://debbugs.gnu.org/46674 In short: Use Tramp 2.5 from GNU ELPA, and apply in your .emacs (connection-local-set-profile-variables 'remote-without-auth-...
Michael Albinus's user avatar
2 votes

remembering auth details for excorporate with .netrc

as per the comment from @rpluim adding the port outlook.office365.com:443 did the job nicely: machine outlook.office365.com:443 port https login [email protected] password changeme123 Don't forget that ...
singingfish's user avatar
1 vote

Storing Database Authentication Details Securely

This is a late answer but hopefully this will help someone. The short answer is that for the entry in ~/.emacs.d/sql-wallet, the machine field needs to be a combination of server and database-name, ...
blenderblunder's user avatar
1 vote

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

I realize this is an old post, but since I solved the username lookup part I want to share in the hopes that someone finds it useful. I was able to use this question to get the password lookup working ...
SwirlingJoe's user avatar
1 vote
Accepted

Using an advice to set default parameters in a interactive function

You can create your own command to set all variables before starting ERC: (defun my/erc-freenode () (interactive) (let ((erc-plist (car (auth-source-search :host "irc.freenode.net"))) (...
Damien Cassou's user avatar
1 vote
Accepted

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

The first thing to do is confirm which fields need to be included in the secret. Frequently this includes host and user. For smtp, this also includes port. You can find this information by looking for ...
Felipe's user avatar
  • 329

Only top scored, non community-wiki answers of a minimum length are eligible