Skip to content

Development: Crypto

Gaute Hope edited this page Aug 22, 2014 · 3 revisions

The test keys used for testing the crypto suite expires after one year, to regenerate:

  1. Set the GNUPGHOME environment variable to: /full/path/test/gnupg_test_home/
  2. Generate receiver keys for email: sup-test-2@foo.bar (no password)
  3. Export key
  4. Move keyrings to receiver_*.gpg
  5. Generate sender keys for email: sup-test-1@foo.bar (no password)
  6. Import receiver key and 'trust' it (trust probably not needed because of trust-model in gpg.conf).

or check the script regen_keys.sh in test/gnupg_test_home/.

Check PR55 for more information.

Clone this wiki locally