content: gpg-cheatsheet: Add instructions too also list expired subkeys
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
8957458e81
commit
25ce4282b5
|
@ -3,12 +3,18 @@ title: gpg cheatsheet
|
|||
date: 2023-04-21T16:40:56+02:00
|
||||
---
|
||||
|
||||
### List secret key with all subkeys:
|
||||
### List secret key with its subkeys:
|
||||
|
||||
```shell {lineanchors=list}
|
||||
$ gpg --list-secret-keys --keyid-format long
|
||||
```
|
||||
|
||||
### List secret key with all (including expired) subkeys:
|
||||
|
||||
```shell {lineanchors=list}
|
||||
$ gpg --list-secret-keys --keyid-format long --list-options show-unusable-subkeys
|
||||
```
|
||||
|
||||
### Add a new subkey:
|
||||
|
||||
```shell {lineanchors=add}
|
||||
|
|
Loading…
Reference in a new issue