Actualiser GPG
parent
344d7a7c52
commit
63becaf0df
1 changed files with 11 additions and 2 deletions
13
GPG.md
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}
|
||||
```
|
Loading…
Reference in a new issue