mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-10-12 13:31:04 -04:00
merged with upstream/master
This commit is contained in:
commit
bef780e0c7
876 changed files with 18344 additions and 15328 deletions
|
@ -97,6 +97,10 @@ void FriendServer::handleClientPublish(const RsFriendServerClientPublishItem *it
|
|||
p.have_added_this_peer[computePeerDistance(p.pgp_fingerprint, pi->second.pgp_fingerprint)] = pi->first;
|
||||
}
|
||||
|
||||
// Now encrypt the item with the public PGP key of the destination. This prevents the wrong person to request for
|
||||
// someone else's data.
|
||||
#warning TODO
|
||||
|
||||
// Send the item.
|
||||
mni->SendItem(sr_item);
|
||||
|
||||
|
@ -223,10 +227,6 @@ std::map<RsPeerId,PeerInfo>::iterator FriendServer::handleIncomingClientData(con
|
|||
}
|
||||
}
|
||||
|
||||
// Check the item's data signature. Is that needed? Not sure, since the data is sent PGP-encrypted, so only the owner
|
||||
// of the secret PGP key can actually use it.
|
||||
#warning TODO
|
||||
|
||||
// All good.
|
||||
|
||||
// Store/update the peer info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue