Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在内部使用默认密码保护我的应用程序备份工具?我正在使用“import tarfile”创建“.tar.gz”文件格式。里面有没有设置密码的对象?
像这样使用 GPG 收费:
gpg -c file.tar
然后设置密码。
取消保护使用:
gpg file.tar.gpg
否。在生成的 tarball 上使用您选择的加密工具。