gg

Table of Contents

1. WeatherNews & Data

2. world2ch

3. Emacs

3.1. Keeping Secrets the Emacs Way

  • Emacs has a library called auth-info for maintaining secrets in an encrypted file.
  • The default file for this is ~/.authinfo.gpg.
  • Its contents look like this.
# lines that begin with # are comments
machine hostname.com login username password s3cr37
  • You can store your passwords and other secrets here.
  • A lot of things in Emacs that need passwords (like gnus) use this system.
  • For those that don't, you can still write some Elisp to make use of this secrets database.
  • For example, you can use the auth-source-search function like this to read back a password.
;; Change "hostname" and "user" to values that make sense for you.
(thread-first
  (auth-source-search :host "hostname.com" :login "username")
  car
  (plist-get :secret)
  funcall)

4. tilde.club webring




Click for the [ Random page ]
Want to join the ring? Click here for info.

Tilde Club Badge

Author: g-gundam

Created: 2026-02-06 Fri 05:22

Validate