id-manager.el
ããå æ¸ã¡ããã¨IDã®ç®¡çããããã¨æã£ã¦ãEmacsã§åãID/Password管çãã¼ã«ãä½ã£ã¦ã¿ã¾ãããgpgãå ¥ã£ã¦ãã¦ãEasyPGãalpacaãªã©ã§èªåçã«ãã¡ã¤ã«ãæå·åãããä»çµã¿ãåæã«ãã¦ãã¾ããUbuntuã®Emacs23.1ã§ãã試ãã¦ãã¾ããããã¡ãã£ã¨ç´ãã°MacãWindowsã®Emacsã§ãåãã¨æãã¾ãã
ä¸ã®elispãé©å½ãªã¨ããã«ããã¦ã
(require 'id-manager)
ãã¾ããä¾ã«ãã£ã¦anythingåæã§ã
(global-set-key (kbd "M-7") 'id-manager)
ã¨ãã¦ããã°ãM-7ãªã©ã§èµ·åãã¾ããanythingã§çµãè¾¼ãã§ãã¹ã¯ã¼ããã³ãã¼ããããåç §ããããå¤æ´ãããåºæ¥ã¦ãã¨ã¦ã便å©ã¿ããã§ãã
anythingãç¡ãå ´åã¯ãidm-open-list-command ã§ãä¸å¿ãããªãã«ä½¿ãã¾ãã使ãæ¹ã¯ idm-list-mode-map ãåç §ãã¦ãã ãããããããªããã
IDã¨ãã¹ã¯ã¼ãã¯ããã©ã«ãã§ã¯ã~/.idm-db.gpgãã«ä¿åããã¾ããæ¢ã«ããããIDãæã£ã¦ãã人ã¯ãã½ã¼ã¹ã®ã³ã¡ã³ãã«ãããããªã¿ãåºåãã®ãã¡ã¤ã«ãä½ãã°OKã§ãã
EasyPGã§å ±ééµã使ã人ã¯ã以ä¸ã®ãããªè¨å®ãå ¥ãã¦ããã¨ä¾¿å©ã§ãã
(setq epa-file-cache-passphrase-for-symmetric-encryption t) (setenv "GPG_AGENT_INFO" nil)
ä¸å¿ããããã¡ãå¤æ°ã«ãã¡ã¤ã«ã®å 容ãæ®ããªãããã«æ°ãã¤ããããã¾ããããå°é家ã§ã¯ç¡ãã®ã§ãã¾ãèªä¿¡ãããã¾ãããå¹³æã§ãã¡ã¤ã«ã«ä¿åããã¨ããæå·åãããã¡ã¤ã«ããã³ããããã¯ã¾ãããªã¨æã£ã¦ãã¾ãããã¹ã¯ã¼ãã®èªåçæãããã°ã©ã ã®ã¾ããã¨ããããã£ããæãã¦ãã ããã