Answers:
GNUPG的信任数据库存储在 ~/.gnupg/trustdb.gpg
您可以使用以下--export-ownertrust
选项备份此信任数据库:
gpg --export-ownertrust > file.txt
如果导出了密钥,以后又将其导入到新环境中,则信任数据库将不再存在。
但是,这很容易解决:
gpg --edit-key user@useremail.com
gpg> trust
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 5
并且不要忘记保存更改:
gpg> save