mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
b43fb7e8b3
- started implementation of new AuthGPG git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
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
|
|
# make
|
|
|
|
For the moment, the compilation is not workign on ubuntu
|
|
|
|
Work to do
|
|
==========
|
|
Put a 'x' when done. 1,2,3 means started/ongoing/almost finished.
|
|
|
|
Compilation
|
|
00 [1] make sure the library compiles on linux
|
|
01 [ ] make sure the library compiles on windows
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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]
|
|
|
|
|