H2O*_*aCl 33 encryption text-editor software-recommendation
是否有适用于 ubuntu 的加密文本编辑器?换句话说,文本编辑器(最好是具有 GUI 功能的)应始终保存加密文件并始终提示输入密码以重新打开文件。重点是将文本编辑器的功能与加密工具相结合。
Sto*_*rux 19
Vi/Vim
只需使用vim或使用选项时vi提供文件加密。blowfish-x
创建一个用于加密的文件,如下所示:
vim -x filename.txt
Run Code Online (Sandbox Code Playgroud)
然后它会提示输入加密密钥
Enter encryption key:
Run Code Online (Sandbox Code Playgroud)
一旦文件被 Vim 加密一次,再次打开该文件时就不需要使用 -x 选项。Vim 会自动将其识别为加密文件并做正确的事情。
由于 Blowfish 是一种对称密钥加密系统,因此加密和解密都使用相同的密钥。当Vim第一次使用 -x 选项打开文件时,它会做的第一件事就是要求你给它一个可以用来加密和解密文件的密钥,提示如下:
Need encryption key for "abc.txt"
Enter encryption key:
Run Code Online (Sandbox Code Playgroud)
输入密钥后,系统会要求您确认密钥,以确保您没有输入错误。
Enter same key again:
Run Code Online (Sandbox Code Playgroud)
然后它会像往常一样正常打开。
在这里阅读更多
加密TE
根据网站。
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.
Run Code Online (Sandbox Code Playgroud)

对于 ubuntu,请参阅。
Par*_*rto 18
格迪特。
ENABLE GnuPG
这仅在您在系统中启用 GnuPG 时才有效。
GnuPG 是 PGP(Pretty Good Privacy)的一种实现,它是一种公钥/私钥加密形式。
安装 GnuPG
sudo apt-get install gnupg
Run Code Online (Sandbox Code Playgroud)
生成您的密钥:
gpg --gen-key
Run Code Online (Sandbox Code Playgroud)
生成密钥时,您可以随时按回车键接受括号中的默认值。密钥生成中最重要的部分是选择密码。
您的公钥现在应该只包含您自己的公钥,您可以使用该--list-keys选项查看密钥环和使用该选项查看您的私钥--list-secret-keys。
gpg --list-keys
gpg --list-secret-keys
Run Code Online (Sandbox Code Playgroud)
GnuPG 来源:http : //www.ianatkinson.net/computing/gnupg.htm
只需转到“工具”>“管理外部工具”,然后添加脚本:
加密
将以下代码粘贴到名为“加密”的新命令上:
#!/bin/bash
stdin=$(cat)
if [ ! "${stdin:0:27}" == "-----BEGIN PGP MESSAGE-----" ]; then
echo "$stdin" | gpg -a -e -r email@email.com --no-tty -
else
echo "$stdin"
fi
Run Code Online (Sandbox Code Playgroud)
选项:

DECRYPT
将以下代码粘贴到名为“Decrypt”的新命令上:
#!/bin/bash
stdin=$(cat)
if [ "${stdin:0:27}" == "-----BEGIN PGP MESSAGE-----" ]; then
echo "$stdin" | gpg -d --no-tty - 2> /dev/null
else
echo "$stdin"
fi
Run Code Online (Sandbox Code Playgroud)
选项:

完成后,您可以打开加密文件(asc – ascii 文件,而不是二进制文件),或使用快捷方式在现场创建新文件。
例子:


来源
http://blog.brunobraga.net/encrypting-and-decrypting-with-gedit/
方法 2 另一种方法是安装zillo。
gedit 3 的一个简单插件,用于将所选文本编码和解码为 base64。
请参阅有关如何安装插件的此问题
如果你喜欢 Geany,这里有一个插件 ( sudo apt-get install geany-plugin-pg):
GeanyPG 是 Geany 的一个插件,允许用户使用 GnuPG 加密、解密和验证签名。
另外:http : //plugins.geany.org/geanypg.html
| 归档时间: |
|
| 查看次数: |
11936 次 |
| 最近记录: |