updated README file for this branch

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-10-09 07:27:54 +00:00
parent edde01c878
commit 9ff0d70997

View File

@ -1,42 +1,38 @@
To use this branch:
chekcout the last version of openpgp SDK:
# svn co svn://openpgp.nominet.org.uk/openpgpsdk/tags/openpgpsdk-0.9 openpgpsdk
# cd openpgpsdk
# ./configure --without-idea
- get source code for libssh-0.5.2, unzip it, and create build directory (if needed)
# wget http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz
# tar zxvf libssh-0.5.2.tar.gz
# cd libssh-0.5.2
# mkdir build
# cd build
# cmake -DWITH_STATIC_LIB=ON ..
# make
# cd ../..
- build the google proto files
# cd rsctrl/src
# make
For the moment, the compilation is not workign on ubuntu
Don't bother about python related errors.
Work to do
==========
Put a 'x' when done. 1,2,3 means started/ongoing/almost finished.
- go to retroshare-nogui, and compile it
Compilation
00 [1] make sure the library compiles on linux
01 [ ] make sure the library compiles on windows
# cd ../../retroshare-nogui
# qmake
# make
Project
02 [1] determine what's missing in OpenPGP-SDK
03 [3] make a separate layer in RS to handle PGP. AuthPGP is too close to libretroshare.
04 [1] write the new AuthGPG class
05 [ ] consider removing thread behaviour of AuthGPG
06 [ ] remove callback system and services from AuthGPG, since it's not useful anymore
07 [ ] make all RS use GPGIdType isntead of std::string.
- to use the SSH RS server:
Notes
=====
Questions to answer:
- do we rely on updates from openPGP-sdk ? Probably not. This code seems frozen.
- do we need an abstract layer for PGP handling in RS ?
- what new functionalities do we need in RS ?
* pgp keyring sharing/import/export
* identity import/export
# ssh-keygen -t rsa -f rs_ssh_host_rsa_key # this makes a RSA
# ./retroshare-nogui -G # generates a login+passwd hash for the RSA key used.
# ./retroshare-nogui -S 7022 -U[SSLid] -P [Passwd hash]
Code struture
- replace current AuthGPG (virtual class) by a class named GPGHandler,
that is responsible for signing, checking signatures, encrypting etc.
- add a specific 8-bytes type for GPG Ids. Could be a uint64_t, or a
uchar[8]
- to connect from a remote place to the server by SSH:
# ssh -T -p 7022 [user]@[host]
and use the command line interface to control your RS instance.