commit e2cff2134fe26996d2cf25b1f61fad69b5b58b7d parent 44916fed4c3c8c881880d1912dab55025c8250c7 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 12 Feb 2019 10:36:29 +0100 Add script to extend expiration on gpg key Diffstat:
A | links/bin/gpg-extend-expire.sh | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/links/bin/gpg-extend-expire.sh b/links/bin/gpg-extend-expire.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +set -v + +# gpg --list-keys anders@adamsgaard.dk +key=5C959DF243CE4DD17A5B2610B790F4AD1BF858FE +gpg --quick-set-expire "$key" 1y +gpg --keyserver hkp://pool.sks-keyservers.net --send-keys "$key"