EncryptPad 是一款专为保护敏感数据设计的轻量级加密工具,适用于Linux及其他平台。它通过强加密算法和简洁的图形界面,为用户提供文件/文本的端到端保护。以下是其核心特性和使用指南:
encryptcli
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install encryptpad encryptcli
yay -S encryptpad # 或通过AUR安装
git clone https://github.com/evpo/EncryptPad
cd EncryptPad && mkdir build && cd build
cmake .. && make
sudo make install
encryptpad &
File > Open
→ 输入密码 → File > Save As
选择加密格式(.gpg或.ept)Encryption > Key File
可绑定物理密钥文件# 加密文件
encryptcli -e -p "YourPassword" -o secret.txt.gpg plaintext.txt
# 生成自解密文件
encryptcli -e --self-decrypt -p "12345" -o mission_instructions.exe mission.txt
bash
# 生成高强度随机密码
encryptcli --generate-password --length 20 --symbols
bash
dd if=/dev/urandom of=~/my_keyfile.key bs=1K count=8
chmod 600 ~/my_keyfile.key
bash
# 批量加密目录下txt文件
for f in *.txt; do
encryptcli -e -p "$(cat /secure/passphrase.txt)" -o "${f}.gpg" "$f"
done
bash
encryptcli -e -k ~/secure/ssh_key.enc ~/.ssh/id_rsa
bash
journalctl -n 50 | encryptcli -e -p "$(date +%Y%m%d)" -o /var/log/encrypted/journal_$(date +%F).gpg
bash
rclone copy ~/EncryptedDocs/ mydrive:Backups/ --include "*.gpg"
pwgen
或KeePassXC生成复杂密码bash
gpg -c ~/my_keyfile.key | ssh user@remote "cat > ~/backup_keyfile.key.gpg"
bash
shred -u plaintext.txt # 覆盖后删除未加密原件
bash
gpg --decrypt file.gpg # 测试GPG格式文件
bash
QT_DEBUG_PLUGINS=1 encryptpad # 检查QT插件问题
通过EncryptPad,Linux用户可以低成本实现军事级文件保护。建议结合Veracrypt等磁盘加密工具构建多层防御体系。其开源特性(GitHub: evpo/EncryptPad)允许安全专家审计代码,确保无后门风险。