是否有一个为ubuntu加密的文本编辑器?换句话说,文本编辑器(最好是具有GUI功能的)应该总是保存一个加密的文件,并且总是提示输入密码来重新打开文件。关键是将文本编辑器的功能与加密工具结合起来。
发布于 2014-03-20 13:11:23
只需使用vim或vi,它在使用-x选项时提供blowfish文件加密功能。
创建一个加密文件,如下所示:
vim -x filename.txt然后它将提示输入加密密钥。
Enter encryption key:一旦一个文件被Vim加密一次,您就不需要在再次打开该文件时使用-x选项。Vim将自动识别它为加密文件,并做正确的事情。
因为Blowfish是一个对称密钥加密系统,所以同样的密钥用于加密和解密。当Vim第一次使用-x选项打开一个文件时,它将做的第一件事是让您给它一个密钥,您可以用这个提示对文件进行加密和解密:
Need encryption key for "abc.txt"
Enter encryption key:输入密钥后,将要求您确认该密钥,以确保您没有键入错误。
Enter same key again:然后它将照常开放。
阅读更多这里
根据网站的说法。
CryptoTE is a text editor with integrated strong cryptography.
It is based on the popular Scintilla widget and automatically stores
text data in secure encrypted container files.
Compared to other "password keeper" programs, CryptoTE does not force
any structure upon your data: it works with plain ASCII text
and does not require you to fill in grids, key-value attributes,descriptions etc.
Encryption is transparently performed using the
highly-secure Serpent cipher. The editing interface is thoroughly
optimized for speed and ease of use.
Multiple subfiles, Quick-Find and a two-click random password generator
make daily use very convenient.
对于ubuntu 看见。
发布于 2014-03-20 13:36:55
当然,您也可以在emacs中这样做。emacs wiki提供了一个非常漂亮的一页,提供了7种不同的方法:
最简单的可能是EasyPG助手,因为它是GnuPG的接口,应该是开箱即用的。
发布于 2014-03-20 13:10:58
您可以尝试使用vim插件gnupg.vim插件,该插件用于透明编辑gpg加密文件。
gnupg.vim描述:
此脚本实现了对gpg加密文件的透明编辑。文件名必须有".gpg“、".pgp”或".asc“后缀。当打开这样一个文件时,内容被解密,当打开一个新文件时,脚本将请求加密文件的接收方。在写入文件内容之前,将对所有收件人进行加密。该脚本关闭viminfo和swapfile以增加安全性。
https://askubuntu.com/questions/436851
复制相似问题