Sha256: 6122d5470f96c5d7fb9cd4ac623cb6a88f25c2609d132958f4099d3fed93f40b

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

#! /bin/bash
#
# re-generate test keys for the sup test base
#
# https://github.com/sup-heliotrope/sup/wiki/Development%3A-Crypto

pushd $(dirname $0)

export GNUPGHOME="$(pwd)"

echo "genrating keys in: $GNUPGHOME.."

rm *.gpg *.asc

echo "generate receiver key.."
gpg --batch --gen-key key2.gen

echo "export receiver key.."

gpg --output sup-test-2@foo.bar.asc --armor --export sup-test-2@foo.bar

mv trustdb.gpg receiver_trustdb.gpg
mv secring.gpg receiver_secring.gpg
mv pubring.gpg receiver_pubring.gpg

echo "generate sender key.."
gpg --batch --gen-key key1.gen

echo "import receiver key.."
gpg --import sup-test-2@foo.bar.asc



popd

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sup-0.21.0 test/gnupg_test_home/regen_keys.sh
sup-0.20.0 test/gnupg_test_home/regen_keys.sh