mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue