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

@ -809,23 +809,23 @@ bool RsInit::SelectGPGAccount(std::string id)
}
bool RsInit::LoadGPGPassword(std::string inPGPpasswd)
{
bool ok = false;
if (0 < AuthGPG::getAuthGPG() -> LoadGPGPassword(inPGPpasswd))
{
ok = true;
std::cerr << "PGP LoadPwd Success!";
std::cerr << std::endl;
}
else
{
std::cerr << "PGP LoadPwd Failed!";
std::cerr << std::endl;
}
return ok;
}
//bool RsInit::LoadGPGPassword(std::string inPGPpasswd)
//{
//
// bool ok = false;
// if (0 < AuthGPG::getAuthGPG() -> LoadGPGPassword(inPGPpasswd))
// {
// ok = true;
// std::cerr << "PGP LoadPwd Success!";
// std::cerr << std::endl;
// }
// else
// {
// std::cerr << "PGP LoadPwd Failed!";
// std::cerr << std::endl;
// }
// return ok;
//}
bool GeneratePGPCertificate(std::string name, std::string comment, std::string email, std::string passwd, std::string &pgpId, std::string &errString)