当我加密服务器备份时,我通常将我的公共 GPG 密钥从密钥服务器安装到我服务器的密钥环中:
gpg --search-keys 6569758F
我将密钥导入我的密钥环。
然后我尝试加密文件:
gpg --encrypt --recipient 6569758F myfile.log
我现在看到这样的东西:
gpg: EE928AAF: There is no assurance this key belongs to the named user
pub 4096R/EE928AAF 2013-12-05 Naftuli Tzvi Kay <rfkrocktk@gmail.com>
Primary key fingerprint: 0E26 BDF1 BD1C 4A16 9571 21A8 8938 1D75 6569 758F
Subkey fingerprint: 65F4 87F2 C898 F0E7 0377 EBA1 8484 EC48 EE92 8AAF
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N)
我现在需要“信任”密钥。但是,我发现除非我“最终”信任密钥,即:级别 5,否则每次我需要加密某些内容时都会收到此提示,这对于 shell 脚本来说效果不太好。
我真的需要最终信任一个密钥来简单地用它加密文件吗?