diff options
author | Lucas Hoffmann <lucc@posteo.de> | 2019-07-18 09:23:36 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-07-21 14:43:18 +0100 |
commit | 3446dc44f87d34205b70f44d6ffec9f90b53d77f (patch) | |
tree | 2c1c4263ca887dc7bc437e14c6b5ae51bd303b7c /tests/static/gpg-keys/ambig2-pub.gpg | |
parent | f9689575e771aaa2e6cd4da13b71b88cf8e9e246 (diff) |
Remove expiration time from gpg keys in the test suite
The keys were expired and thus the tests were failing. In order to
remove the expiration time the following actions were taken:
Creating a temporary directory to use as GNUPGHOME, importing all the
keys:
mkdir tmp
export GNUPGHOME=$PWD/tmp
gpg --import tests/static/gpg-keys/*sec.gpg
For each of the three keys the expiration time was set to unlimited and
they were reexported (the ones that were not ascii armored before were
again exported without the `--armor` option):
gpg --edit-key $KEY_ID
gpg --export --armor $KEY_ID > $PUB_FILE
gpg --export-secret-keys --armor $KEY_ID > $SEC_FILE
Finally:
rm -rf $GNUPGHOME
unset GNUPGHOME
Diffstat (limited to 'tests/static/gpg-keys/ambig2-pub.gpg')
-rw-r--r-- | tests/static/gpg-keys/ambig2-pub.gpg | bin | 1235 -> 1223 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/static/gpg-keys/ambig2-pub.gpg b/tests/static/gpg-keys/ambig2-pub.gpg Binary files differindex e52e2f62..29f2f4e4 100644 --- a/tests/static/gpg-keys/ambig2-pub.gpg +++ b/tests/static/gpg-keys/ambig2-pub.gpg |