pub fn add_trusted(root: &Path, key: &PublicKey) -> Result<PathBuf>
Trusts key for the cache at root: writes <root>/trust/<id>.pub atomically, and returns its path.
key
root
<root>/trust/<id>.pub
I/O errors.