2 # to be run on {www,boot}.planet-lab.eu where the CERTH key was imported
4 # (*) initialized gpg with the gpg rings found in /etc/planetlab
5 # ple-www.pl.sophia.inria.fr ~ # ls -ld .gnupg .gnupg/*ring.gpg
6 # drwx------ 2 root root 4096 Jun 17 16:11 .gnupg
7 # -rw------- 1 root root 28357 Jun 17 16:11 .gnupg/pubring.gpg
8 # -rw------- 1 root root 47028 Jun 16 16:43 .gnupg/secring.gpg#
10 # (*) used NITOS indications to locate armored key
11 # http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4646985724FAFE07
13 # (*) stored that in /etc/planetlab/Nitlab.key
15 # (*) gpg --import /etc/planetlab/Nitlab.key
17 # (*) signed the snipped version and published it to NITOS
20 # (*) upon reception of their acknowledgement, which establishes trust
21 # sign and trust the key:
22 # [boot-planet-lab-eu] ~/.gnupg # gpg --edit-key CERTH
23 # gpg (GnuPG) 1.4.7; Copyright (C) 2006 Free Software Foundation, Inc.
31 # Really sign? (y/N) y
37 # 1 = I don't know or won't say
39 # 3 = I trust marginally
41 # 5 = I trust ultimately
42 # m = back to the main menu
45 # Do you really want to set this key to ultimate trust? (y/N) y
50 # Save changes? (y/N) y
51 # [boot-planet-lab-eu] ~/.gnupg #
58 # refresh the gpg encrypted version of the export file
59 mv -f EXPORT.nitlab.gpg EXPORT.nitlab.gpg.bak
60 plcsh ./export-omf.py | gpg -r CERTH -e --output EXPORT.nitlab.gpg
62 # publish under /var/www/html/download/EXPORT.nitlab
63 cp EXPORT.nitlab.gpg /var/www/html/download/EXPORT.nitlab.gpg