NB: use-package-secrets-directories is obsolete since 0.0.2, you have to explicitly list all directories in use-package-secrets-directories.
(use-package use-package-secrets
:custom
(use-package-secrets-directories '("~/docs/secrets"))
:quelpa
(use-package-secrets :repo "a13/use-package-secrets"
:fetcher github
:version original))
(use-package jabber
:secret
(jabber-connect-all "~/.secrets.el.gpg")
:config
(setq jabber-history-enabled t
jabber-use-global-history nil
fsm-debug nil))
(use-package slack
:secret
(slack-start "work.el.gpg")
:commands (slack-start)
:init
(setq slack-buffer-emojify t) ;; if you want to enable emoji, default nil
(setq slack-prefer-current-team t))
Where ~/.secrets.el.gpg is (notice the first line)
;; -*- auto-save-default: nil; flycheck-mode: nil; -*-
(setq jabber-account-list (quote
(("[email protected]/emacs"
(:password . "your-password")))))
And work.el.gpg looks like:
;; -*- auto-save-default: nil; flycheck-mode: nil; -*-
(slack-register-team
:name "emacs-slack"
:default t
:client-id "aaaaaaaaaaa.00000000000"
:client-secret "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
:token "aaaa-sssssssssss-88888888888-hhhhhhhhhhh-jjjjjjjjjj"
:subscribed-channels '(test-rename rrrrr)
:full-and-display-names t)