snippets/old_snippets/How-to-trust-gpg-keys.md

30 lines
644 B
Markdown

---
date: 2023-10-27T22:00:00.000Z
title: How to trust gpg keys
draft: false
snippet_types:
- gpg
seo_description: How to trust gpg keys
---
After moving some GPG keys to a new computer I kept getting these trust warnings.
```
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)
```
To solve this one has to edit the key and set a trust level.
```javascript
$ gpg--edit - key 't@coolsite.com'
trust
5
```
## Source
* [yanhan](https://yanhan.github.io/posts/2014-03-04-gpg-how-to-trust-imported-key/)