- added key signatures (not fully debugged yet)

- added locks to prevent concurrent access to PGPHandler
- added output of unverified signatures



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-07-05 22:25:46 +00:00
parent 139ab68a4a
commit 444602e8e6
5 changed files with 142 additions and 13 deletions

View file

@ -642,7 +642,7 @@ bool AuthGPG::VerifySignBin(const void *data, uint32_t datalen, unsigned char *s
int AuthGPG::privateSignCertificate(const std::string &id)
{
std::cerr << __PRETTY_FUNCTION__ << ": To be implemented." << std::endl;
return PGPHandler::privateSignCertificate(mOwnGpgId,PGPIdType(id)) ;
// /* The key should be in Others list and not in Peers list ??
// * Once the key is signed, it moves from Others to Peers list ???
@ -696,8 +696,6 @@ int AuthGPG::privateSignCertificate(const std::string &id)
//
// gpgme_data_release(out);
// gpgme_signers_clear(CTX);
return 1;
}
/* revoke the signature on Certificate */