mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue