Actualiser GPG

Mylloon 2024-06-14 17:35:05 +02:00
parent 344d7a7c52
commit 63becaf0df
Signed by: Forgejo
GPG key ID: E72245C752A07631

13
GPG.md

@ -13,8 +13,17 @@
---
- [Export secret key](https://stackoverflow.com/a/5588513)
- List Key to get ID
```
gpg --list-secret-keys --keyid-format=long
```
- Export secret key
```
gpg --export-secret-keys --armor {ID} > secret.asc
```
- Export key
```
gpg --output public.gpg --armor --export <ID>
gpg --output public.gpg --armor --export {ID}
```