mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Improvements to distant messaging (does not work yet)
- removed unused code (mainly tunnel handling code, messaging invite code) - added signing/encrypting/verification/decrypting of distant messages - added data based signature check method in GxsSecurity - removed fingerprint from GRouter - published all self Identities into GRouter. Will put more section later. - fixed some prototypes in GxsSecurity git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3bbd88abc
commit
52d836225c
12 changed files with 151 additions and 429 deletions
|
@ -497,13 +497,12 @@ void p3GRouter::locked_forwardKey(const RsGRouterPublishKeyItem& item)
|
|||
else
|
||||
std::cerr << " Not forwarding to source id " << item.PeerId() << std::endl;
|
||||
}
|
||||
bool p3GRouter::registerKey(const GRouterKeyId& key,const PGPFingerprintType& fps,const GRouterServiceId& client_id,const std::string& description)
|
||||
bool p3GRouter::registerKey(const GRouterKeyId& key,const GRouterServiceId& client_id,const std::string& description)
|
||||
{
|
||||
RsStackMutex mtx(grMtx) ;
|
||||
|
||||
GRouterPublishedKeyInfo info ;
|
||||
info.service_id = client_id ;
|
||||
info.fpr = fps ;
|
||||
info.description_string = description.substr(0,20);
|
||||
info.validity_time = 0 ; // not used yet.
|
||||
info.last_published_time = 0 ; // means never published, se it will be re-published soon.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue