askpass_stars
https://antofthy.gitlab.io/software/#askpass_stars
Which is my password reader, with key ring saving and retrieving
encrypt
https://antofthy.gitlab.io/software/#encrypt
Which does file encryption, calling askpass_stars as needed
Its comment header contains the configuration for VIM to edit ".enc" files
keepout
https://antofthy.gitlab.io/software/#keepout
Replacement for encrypt, now that "openssl enc" can handle PBKDF2.
This a shell wrapper around "openssl" that saves the 'extra'
information that is needed (other that than the password) to decode
the encrypted file. Something that is nessary due to the changing
default options of "openssl".
您可以检查哪些已安装的应用程序依赖于
libkeyutils
(或已安装的二进制文件,它们链接到libkeyutils.so
)。在 Debian 系统上,您可以使用
apt-cache rdepends libkeyutils1
. 在我的系统上:对于内核密钥环的确切用途,您需要查看文档。
当我打开加密文件进行编辑时,我使用内核密钥环来存储密码。
打开时,我询问用户密码,将其保存在密钥环中,然后编辑文件。每当我保存(可能是多次)时,我都会检索密码(除非超时,在这种情况下,我会要求两次新密码并再次保存),重新加密文件,然后继续。当我完成编辑密码密钥被清除。
这在编辑加密文件时可以节省很多错误!
看我的脚本...
有关使用 keyctl 完成所有这些操作的信息,请参阅我的笔记 https://antofthy.gitlab.io/info/crypto/passwd_caching.txt