I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB

  1. #+TITLE: Pass
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle pass.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
  8. #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
  9. Password management inside of Emacs.
  10. * Setup
  11. Install ~pass~[fn:1] on the system before loading the module.
  12. #+begin_src shell
  13. RUN apt install -y pass
  14. #+end_src
  15. * Config
  16. Encrypted passwords are stored inside files, in a file structure providing easy commands for generating, modifying, and copying passwords. ~password-store.el~[fn:2] provides a wrapper for the functionality within Emacs.
  17. #+begin_src emacs-lisp
  18. (use-package password-store
  19. :custom (password-store-dir dotfiles/passwords))
  20. #+end_src
  21. * Shortcuts
  22. Configure keybindings behind =SPC p=:
  23. + Copy with =p=
  24. + Rename with =r=
  25. + Generate with =g=
  26. #+begin_src emacs-lisp
  27. (dotfiles/leader
  28. "p" '(:ignore t :which-key "Passwords")
  29. "pp" '(password-store-copy :which-key "Copy")
  30. "pr" '(password-store-rename :which-key "Rename")
  31. "pg" '(password-store-generate :which-key "Generate"))
  32. #+end_src
  33. * Footnotes
  34. [fn:1] https://passwordstore.org
  35. [fn:2] https://github.com/NicolasPetton/pass