Skip to content

Commit

Permalink
Update renew-gpg-keys.md
Browse files Browse the repository at this point in the history
  • Loading branch information
namnd authored Jan 21, 2024
1 parent b067106 commit ee37ef8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/posts/renew-gpg-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ tags: ["wfh", "security", "compliance", "gpg", "ssh", "yubikey", "renew"]

It's been a year since [I setup my GPG + Yubikey](/posts/my-workstation-setup/). It has now been expired and we need to renew the keys.

## Step 1: First step is to unplug the Yubikey, grab the master key USB and import it
## Step 1: Import the master key

First step is to unplug the Yubikey, grab the master key USB and import it

```bash
$ mv .gnupg .gnupg_backup
Expand All @@ -24,7 +26,7 @@ uid [ expired] Nam Nguyen <[email protected]>
uid [ expired] Nam Nguyen <[email protected]>
```

## Step 2: Renew the master key
## Step 2: Renew the master key and subkeys

```bash
$ gpg --edit-key E078ECC765D900C33AEDD9F7A85791287A30BB7D
Expand Down

0 comments on commit ee37ef8

Please sign in to comment.