Given that your key has expired.
$ gpg --list-keys
$ gpg --edit-key KEYID
Use the expire command to set a new expire date:
| package main | |
| import ( | |
| "fmt" | |
| "golang.org/x/text/runes" | |
| "golang.org/x/text/transform" | |
| "golang.org/x/text/unicode/norm" | |
| "strings" | |
| "unicode" | |
| ) |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys and look for sec, use the key ID for the next stepgit to use GPG -- replace the key with the one from gpg --list-secret-keys