A library for providing access to passwords in Emacs from external resources at runtime.
Emacs Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lisp
README.org

README.org

Emacs Runtime Passwords

Instead of hard-coding passwords into your .emacs use this library to pull them out of an external resource, like a file. This makes sharing your configuration files easier.

If you put passwords into a tab-separated file ~/.passwords

# ~/.passwords
irc	Ohf5Eiwa
gmail	1aeghieD7

and set

(setq runtime-passwords-file "~/.passwords")

Then you can ask for a password by its key with

(runtime-password-get "gmail")

You can use this form inside your .emacs to separate your Emacs configuration from credentials you need during that configuration.