mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
- 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:
parent
139ab68a4a
commit
444602e8e6
5 changed files with 142 additions and 13 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue