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:
joss17 2010-01-13 21:06:53 +00:00
parent 9c17aced37
commit 45b2287d41
5 changed files with 85 additions and 141 deletions

View file

@ -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;
}
};