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: To use this branch:
chekcout the last version of openpgp SDK: - get source code for libssh-0.5.2, unzip it, and create build directory (if needed)
# svn co svn://openpgp.nominet.org.uk/openpgpsdk/tags/openpgpsdk-0.9 openpgpsdk
# cd openpgpsdk
# ./configure --without-idea
# make
For the moment, the compilation is not workign on ubuntu # 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
Work to do # cd rsctrl/src
========== # make
Put a 'x' when done. 1,2,3 means started/ongoing/almost finished.
Compilation Don't bother about python related errors.
00 [1] make sure the library compiles on linux
01 [ ] make sure the library compiles on windows
Project - go to retroshare-nogui, and compile it
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.
Notes # cd ../../retroshare-nogui
===== # qmake
Questions to answer: # make
- 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
Code struture - to use the SSH RS server:
- replace current AuthGPG (virtual class) by a class named GPGHandler,
that is responsible for signing, checking signatures, encrypting etc. # ssh-keygen -t rsa -f rs_ssh_host_rsa_key # this makes a RSA
- add a specific 8-bytes type for GPG Ids. Could be a uint64_t, or a # ./retroshare-nogui -G # generates a login+passwd hash for the RSA key used.
uchar[8] # ./retroshare-nogui -S 7022 -U[SSLid] -P [Passwd hash]
- 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.