Contribute

Digital Forensics Framework use GIT as source code manager. Access is freely available to everyone using adress :

git://git.digital-forensic.org/dff.git

But, in order to contribute, you have to send us your ssh public key.
If you already have a ssh public key, go to step Send us your ssh public key .

Generate your own ssh public key

Unix

Use ssh-keygen command to generate your 2048bits RSA private and public keys. Here is an example :

cma@chichodrome ~ $ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cma/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/cma/.ssh/id_rsa.
Your public key has been saved in /home/cma/.ssh/id_rsa.pub.
The key fingerprint is:
e8:f6:62:c8:f6:37:ea:6a:d0:b4:f0:18:82:53:e2:dd cma@chichodrome
The key's randomart image is:
+--[ RSA 2048]----+
[...]
+-----------------+
cma@chichodrome ~ $ ls -la ~/.ssh
[...]
-rw-------  1 cma users 1675 Jan 11 15:57 id_rsa
-rw-r--r--  1 cma users  401 Jan 11 15:57 id_rsa.pub
[...]

The ssh-keygen asks you where to store keys, it also asks you for a passphrase, it is not mandatory to submit a passphrase.
Once completed, you public keys is usually ~/.ssh/id_rsa.pub .

Windows

Use PuTTYgen, from Simon Tatham

Double-click on puttygen.exe, first step : click on "Generate" :
PuTTYgen : Click on "Generate"

Move your mouse to generate entropy :
PuTTYgen : Move mouse on the window to generate entropy

Wait before completion of the generation process :
PuTTYgen : Wait before completion of the generation process

Optionnaly add a passphrase to protect your key :
PuTTYgen : Optionnal ; add a passphrase to your key

Final step : save both public and private keys in a protected location :
PuTTYgen : Save both public and private keys

Send us your ssh public key

Depending on the generation method ;
  • on Unix you have to send us ~/.ssh/id_rsa.pub
  • on Windows where you save it at the final step

Send the text contained in this public key, or the entire file, to also add the username you own on DFF wiki/bugtracker or the username you wish to use.

Use your key with GIT

The url to use to clone our repository is the same as the public version, but you have to pretend the git user :

git@git://git.digital-forensic.org/dff.git

Unix

On Linux / BSD ; your id_rsa and id_rsa.pub just have to sit in ~/.ssh/ to be used. Once your key have been validated just run this command to clone the repository in contributor mode :

git clone git@git://git.digital-forensic.org/dff.git

Windows

On Windows we recommend usage of TortoiseGIT + MSysGIT. With it you can easily add your .pub and .ppk generated with PuTTYgen. In fact we will only add the .ppk key because this .ppk is composed of both public and private key.

First step, right click in the blank area in the directory where you want to add DFF and select "Git clone..." :
Git clone : Right click where you want to fetch repository

Second step, add the URL git@git://git.digital-forensic.org/dff.git , check "Load Putty Key" and add the path where your private key (.ppk) is and click OK :
Git clone : Add repository, load your PPK key and click OK

The fetching process start :
Git clone : Fetching window

First time you connect to our repo, you will be warned this is a new repository, click "Yes" to add our repository to your trusted pool :
Git clone : Warning about new secure repository

Final step : Fetching process done, click "Close" :
Git clone : New repository fetched

Mapping configuration of your user

Because user-name on your computer generally differs from the one used on DFF wiki/bugtracker/GIT, you have to set your user-name and e-mail up. If you don't do this, activity and statistics will not be mapped to your user-name.

Unix

On Unix this can be achieved by adding this three lines in the file ~/.gitconfig, here is an example for the user cma :

[user]
        name = cma
        email = cma@digital-forensic.org

Windows

Right click in a blank area, under ToitoiseGit select Settings :
TortoiseGIT : Going to settings

On the left select Git, Config and add your User Info according to your account on DFF wiki/bugtracker, here is an example for the user cma :
TortoiseGIT : Setting username and email

Well done ! you are ready to contribute to DFF !

puttygen1.png - PuTTYgen : Click on "Generate" (7.3 KB) cma, 11 Jan 2010 17:11

puttygen2.png - PuTTYgen : Move mouse on the window to generate entropy (7.6 KB) cma, 11 Jan 2010 17:11

puttygen3.png - PuTTYgen : Wait before completion of the generation process (7.4 KB) cma, 11 Jan 2010 17:11

puttygen5.png - PuTTYgen : Optionnal ; add a passphrase to your key (11.8 KB) cma, 11 Jan 2010 17:11

puttygen6.png - PuTTYgen : Save both public and private keys (11.8 KB) cma, 11 Jan 2010 17:11

gitclone1.png - Git clone : Right click where you want to fetch repository (4.4 KB) cma, 11 Jan 2010 17:41

gitclone2.png - Git clone : Add repository, load your PPK key and click OK (7.2 KB) cma, 11 Jan 2010 17:41

gitclone3.png - Git clone : Fetching window (9.9 KB) cma, 11 Jan 2010 17:41

gitclone4.png - Git clone : Warning about new secure repository (7.2 KB) cma, 11 Jan 2010 17:41

gitclone5.png - Git clone : New repository fetched (11.1 KB) cma, 11 Jan 2010 17:41

toirtoisegit1.png - TortoiseGIT : Going to settings (5.7 KB) cma, 11 Jan 2010 17:50

toirtoisegit2.png - TortoiseGIT : Setting username and email (21.7 KB) cma, 11 Jan 2010 17:50

Also available in: HTML TXT