mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
set private key trust to full when the validity was unknown
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2204 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aab0879f5b
commit
c381099e59
@ -277,7 +277,7 @@ int AuthGPG::GPGInit(std::string ownId)
|
||||
//check the validity of the private key. When set to unknown, it caused signature and text encryptions bugs
|
||||
if (mOwnGpgCert.validLvl < 2) {
|
||||
std::cerr << "AuthGPG::GPGInit() abnormal validity set to private key. Switch it to none by default." << std::endl;
|
||||
privateTrustCertificate(mOwnGpgId, 2);
|
||||
privateTrustCertificate(mOwnGpgId, 4);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user