added a tooltip and read color for unsecure GXS identities. These are still supported for a few weeks at most. So get rid of them

This commit is contained in:
csoler 2016-06-17 22:21:06 -04:00
parent 4df4bb638f
commit eb05922cd1
5 changed files with 56 additions and 18 deletions

View file

@ -1701,9 +1701,13 @@ void RsGxsIdCache::init(const RsGxsIdGroupItem *item, const RsTlvPublicRSAKey& i
{
if(!priv_key.checkKey())
std::cerr << "(EE) Private key missing for own identity " << pub_key.keyId << std::endl;
}
if(!pub_key.checkKey())
std::cerr << "(EE) Public key missing for identity " << pub_key.keyId << std::endl;
if(!GxsSecurity::checkFingerprint(pub_key))
details.mFlags |= RS_IDENTITY_FLAGS_IS_DEPRECATED;
/* rest must be retrived from ServiceString */
updateServiceString(item->meta.mServiceString);