The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Get rid of id-manager

I never really used it, especially since i have password-store installed everywhere.
master
Gergely Polonkai 2 years ago
parent 30914c614a
commit 3a4ed53c8a
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
  1. 40
      configuration.org
  2. 1
      customizations.el
  3. BIN
      idm-db.gpg

@ -874,33 +874,6 @@ to the beginning of the file."
(0 font-lock-variable-name-face t)))))))
#+END_SRC
** ~idm~ (ID manager) related functions
*** Get specific fields from a record in ~idm~
#+BEGIN_SRC emacs-lisp
(defun gpolonkai/idm-record-get-field (record field)
"Get FIELD of an id-manager RECORD."
(let ((funcname (intern (concat "idm-record-" (symbol-name field)))))
(when (fboundp funcname)
(funcall funcname record))))
(defun gpolonkai/idm-get-field-for-account (account field)
"Get id-manager password for ACCOUNT."
(let ((db (idm-load-db))
(lookup-record nil))
(dolist (record (funcall db 'get-all-records) password)
(when (string= account (idm-record-name record))
(setq lookup-record (gpolonkai/idm-record-get-field record field))))
lookup-record))
(defmacro gpolonkai/idm-get-password-for-account (account)
`(gpolonkai/idm-get-field-for-account ,account 'password))
(defmacro gpolonkai/idm-get-id-for-account (account)
`(gpolonkai/idm-get-field-for-account ,account 'account-id))
#+END_SRC
** Jinja related
*** Mark a string as translatable
@ -1384,19 +1357,6 @@ Now set up eshell.
(save-place-file (expand-file-name ".places" user-emacs-directory)))
#+END_SRC
** ID manager
Manage credentials, AKA password manager.
#+BEGIN_SRC emacs-lisp
(use-package id-manager
:config
(setq idm-database-file (expand-file-name "idm-db.gpg" user-emacs-directory))
:bind
(:map gpolonkai/pers-map
("i" . idm-open-list-command)))
#+END_SRC
** EDiff
#+BEGIN_SRC emacs-lisp

@ -110,7 +110,6 @@
hover
hungarian-holidays
hungry-delete
id-manager
ivy
ivy-bibtex
ivy-pass

Binary file not shown.
Loading…
Cancel
Save