This is an internal page for Team 614 members only.
This section is for our working source code versions. They are available from the main SVN version in the high bay (TBD). The links below will download the files to your PC. You will need to decrypt the data with the GPG access key before using.
Source code downloads coming soon. Use FLASH drive or Pen drive for now.
To access this code, do the following:
bash or xterm shell window.cd to the directory with the downloaded fileD: or E:). If the drive is D:, you can refer to it as the directory /cygdrive/d/ in the cygwin shell commands.gpg --import /cygdrive/d/hawk_distribution_key.gpg to import the hawk public key (first time only).gpg --secret-keyring /cygdrive/d/hawk07ring.gpg -o
example.tar.bz2 -d example.tbz.gpg to decrypt the file … Enter the passphrase when requested.tar: tar xjf example.tar.bz2You should have a new directory example (or a folder if you are looking from windows). Try to open the README.txt file to see if it all worked.
Here is the example from my machine:
Step 1: clicked on the file link in my browser and got a requester with the following on it:
File Download: Do you want to save this file?
Name: example.tar.bz2.gpg
Type: Unknown File Type
From: hayfieldrobotics.us I clicked the Save button browsed to the folder I wanted to
download to ( C:\chm\robotics\gnupg\check ) and saved there.Step 2: I used an xterm window for the shell. bash$ is the prompt.
Step 3: bash$ cd /c/chm/robotics/gnupg/check/
bash$ ls
example.tar.bz2.gpg* <--- this is the fileStep 4: The HAWK07_KEY disk was inserted into the D:\ drive.
Step 5: I'll be referring to the disk as /cygdrive/d/
Step 6: Importing the public key
bash$ gpg --import /cygdrive/d/hawk_distribution_key.gpg
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: key 41ED4B77: public key "hawk07 distribution key" imported
gpg: Total number processed: 1
gpg: imported: 1
bash$ gpg --list-keys
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
/home/chm/.gnupg/pubring.gpg
-----------------------------
pub 1024D/41ED4B77 2007-02-06
uid hawk07 distribution key <--- the new public key
sub 4096g/A7CF6107 2007-02-06Step 7: Here I am running the command to decrypt
bash$ gpg --secret-keyring /cygdrive/d/hawk07ring.gpg -o example.tar.bz2 -d example.tar.bz2.gpg
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information You need a passphrase to unlock the secret key for
user: "hawk07 distribution key"
4096-bit ELG-E key, ID A7CF6107, created 2007-02-06 (main key ID 41ED4B77)Enter passphrase: << I entered the passphrase here >>
gpg: encrypted with 4096-bit ELG-E key, ID A7CF6107, created 2007-02-06
"hawk07 distribution key"
bash$ ls
example.tar.bz2 example.tar.bz2.gpg* <--- now there are twoStep 8: Unpack the decrypted, downloaded file
bash$ tar xjf example.tar.bz2
bash$ ls
example/ example.tar.bz2 example.tar.bz2.gpg* bash$ cd example
bash$ ls -l
total 1
-rw-r--r-- 1 chris.h.marshall mkgroup-l-d 151 Feb 7 14:48 README.txt
bash$ cat README.txt
Cong...
.......
.......Voila!