mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
added entropy collection system based on mouse movement to location/identity creation, to make keys less predictable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6b1613d8bb
commit
cda8557b73
5 changed files with 316 additions and 140 deletions
|
@ -41,6 +41,7 @@
|
|||
|
||||
#define RS_USE_PGPSSL 1
|
||||
|
||||
#include <stdint.h>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -88,6 +89,7 @@ class RsInit
|
|||
/*!
|
||||
* Generating GPGme Account
|
||||
*/
|
||||
static bool collectEntropy(uint32_t bytes) ;
|
||||
static int GetPGPLogins(std::list<std::string> &pgpIds);
|
||||
static int GetPGPLoginDetails(const std::string& id, std::string &name, std::string &email);
|
||||
static bool GeneratePGPCertificate(const std::string&, const std::string& email, const std::string& passwd, std::string &pgpId, std::string &errString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue