test/gen_pgp_samples.sh
author Edouard Tisserant
Thu, 05 Nov 2015 18:14:06 +0100
changeset 381 87e3895c327f
parent 315 fb80b70e844d
permissions -rw-r--r--
Change test pub keys file names to match usual namimg in attachements
     1 #!/bin/bash
     2 
     3 # Use this to generate test msg.asc and signature.asc
     4 
     5 # Keys pair are : 
     6 #
     7 # pEp Test Alice (test key don't use) <pep.test.alice@pep-project.org>
     8 # 6FF00E97
     9 # 
    10 # pEp Test Bob (test key, don't use) <pep.test.bob@pep-project.org> 
    11 # C9C2EE39
    12 # 
    13 # pEp Test John (test key, don't use) <pep.test.john@pep-project.org>
    14 # 70DCF575
    15 
    16 # msg.asc from msg.c
    17 # Bob sends a message to Alice and John
    18 gpg -u C9C2EE39 -s -e -r 6FF00E97 -r 70DCF575 --armor msg
    19 
    20 # signature.asc from t1.txt
    21 # Bob signs the message
    22 gpg --output signature.asc -u C9C2EE39 -sb --armor t1.txt
    23