- enable
elpa
to automatically crypt and decrpyt .gpg file. - add a hook function to
find-file-hook
in order to hide password in gpg file likeauthinfo-mode
do inauthinfo.gpg
file. - Define the interactive function
pim-hide-password
to hide password in current buffer. - Define the interactive function
pim-gen-password
which generates a fairly good password. Default length can be customized bypim-gen-password-length
and can be overwrite using the universal-prefix argument.
This package install emacs-password-genarator.
You can customize the variable pim-gen-password-length
.