页面加载中,请稍候
来源:开源派发布时间:2022-12-302658浏览
询问 AIAge(Actual Good Encryption)是一款简单易用的安全加密开源工具,可基于非对称加密算法,快速对私密文件进行加密。Age命令行工具基于Go 语言编写,遵守BSD-3-clause 开源协议。

各个操作系统安装方法:
Homebrew (macOS or Linux)brew install ageMacPortsport install ageAlpine Linux v3.15+apk add ageArch Linuxpacman -S ageDebian 11+ (Bullseye)apt install age/bullseye-backportsFedora 33+dnf install ageGentoo Linuxemerge app-crypt/ageNixOS / Nixnix-env -i ageopenSUSE Tumbleweedzypper install ageUbuntu 22.04+apt install ageVoid Linuxxbps-install ageFreeBSDpkg install age(security/age)OpenBSD 6.7+pkg_add age(security/age)Chocolatey (Windows)choco install age.portableScoop (Windows)scoop bucket add extras; scoop install ageage 压缩包解开后有 age 和 age-keygen 两个文件,执行 age-keygen 获得密钥对。为了方便下次使用,可将私钥存在文本文件里。
命令行使用帮助:
使用:
age [--encrypt] (-r RECIPIENT | -R PATH)... [--armor] [-o OUTPUT] [INPUT]
age [--encrypt] --passphrase [--armor] [-o OUTPUT] [INPUT]
age --decrypt [-i PATH]... [-o OUTPUT] [INPUT]
选项:
-e, --encrypt 加密文件
-d, --decrypt 解密文件
-o, --output OUTPUT 输出文件结果
-a, --armor 以PEM 格式加密.
-p, --passphrase passphrase加密.
-r, --recipient RECIPIENT 加密指定接收人.
-R, --recipients-file PATH 加密并列出路径与接收人.
-i, --identity PATH 使用鉴别文件

微信订阅号:开源派 (opensourcepie)
新闻来源:开源派,文中所述为作者独立观点,不代表icspec立场。更多精彩资讯请下载icspec App。如对本稿件有异议,请联系微信客服specltkj。
暂无评论哦,快来评论一下吧!
2026-06-27

2026-06-16