add gpg change key password
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- [Searching for GPG Keys](#searching-for-gpg-keys)
|
- [Searching for GPG Keys](#searching-for-gpg-keys)
|
||||||
- [Importing GPG Keys](#importing-gpg-keys)
|
- [Importing GPG Keys](#importing-gpg-keys)
|
||||||
- [Generate GPG Keys](#generate-gpg-keys)
|
- [Generate GPG Keys](#generate-gpg-keys)
|
||||||
|
- [Change Key Password](#change-key-password)
|
||||||
- [Renewing GPG Keys](#renewing-gpg-keys)
|
- [Renewing GPG Keys](#renewing-gpg-keys)
|
||||||
- [Export GPG Keys](#export-gpg-keys)
|
- [Export GPG Keys](#export-gpg-keys)
|
||||||
- [GPG Key Servers](#gpg-key-servers)
|
- [GPG Key Servers](#gpg-key-servers)
|
||||||
@@ -62,6 +63,18 @@ gpg --list-secret-keys
|
|||||||
gpg --edit-key <id>
|
gpg --edit-key <id>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Change Key Password
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# You can see all the --edit-key options with `man gpg` and search for '--edit-key'
|
||||||
|
# You can also type "?" to see help
|
||||||
|
gpg --edit-key 7FC1B29700114F4FC589E7065FDDCFA544D77B8C
|
||||||
|
|
||||||
|
> passwd
|
||||||
|
|
||||||
|
> quit
|
||||||
|
```
|
||||||
|
|
||||||
## Renewing GPG Keys
|
## Renewing GPG Keys
|
||||||
|
|
||||||
You should set an expiration for your keys. You can extend that expiration (or
|
You should set an expiration for your keys. You can extend that expiration (or
|
||||||
|
|||||||
Reference in New Issue
Block a user