mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -04:00
remove the store of the pgp password
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9c17aced37
commit
45b2287d41
5 changed files with 85 additions and 141 deletions
|
@ -83,7 +83,6 @@ class AuthGPG
|
|||
private:
|
||||
|
||||
/* Internal functions */
|
||||
bool setPGPPassword_locked(std::string pwd);
|
||||
bool DoOwnSignature_locked(const void *, unsigned int, void *, unsigned int *);
|
||||
bool VerifySignature_locked(const void *data, int datalen, const void *sig, unsigned int siglen);
|
||||
|
||||
|
@ -107,10 +106,6 @@ class AuthGPG
|
|||
bool availablePGPCertificates(std::list<std::string> &ids);
|
||||
|
||||
int GPGInit(std::string ownId);
|
||||
int GPGInit(std::string name, std::string comment,
|
||||
std::string email, std::string passwd); /* create it */
|
||||
|
||||
int LoadGPGPassword(std::string pwd);
|
||||
|
||||
/* SKTAN */
|
||||
void showData(gpgme_data_t dh);
|
||||
|
@ -227,8 +222,6 @@ private:
|
|||
std::string mX509id;
|
||||
|
||||
gpgcert mOwnGpgCert;
|
||||
|
||||
std::string passphrase;
|
||||
};
|
||||
|
||||
/* Sign a key */
|
||||
|
@ -294,12 +287,10 @@ class SignParams
|
|||
{
|
||||
public:
|
||||
|
||||
std::string checkLvl;
|
||||
std::string passphrase;
|
||||
|
||||
SignParams(std::string checkLvl, std::string passphrase) {
|
||||
this->checkLvl = checkLvl;
|
||||
this->passphrase = passphrase;
|
||||
std::string checkLvl;
|
||||
|
||||
SignParams(std::string checkLvl) {
|
||||
this->checkLvl = checkLvl;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue