mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
fixed adding self signature at certificate generation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b3b7fc3475
commit
53416b85c3
3 changed files with 38 additions and 30 deletions
|
@ -40,7 +40,13 @@ int main(int argc,char *argv[])
|
|||
throw std::runtime_error("PGPHandler::readKeyRing(): cannot read key file. File corrupted, or missing/superfluous armour parameter.") ;
|
||||
|
||||
for(int i=0;i<kr->nkeys;++i)
|
||||
{
|
||||
ops_print_public_keydata(&kr->keys[i]) ;
|
||||
ops_print_public_keydata_verbose(&kr->keys[i]) ;
|
||||
ops_print_public_key(&kr->keys[i].key.pkey) ;
|
||||
}
|
||||
|
||||
ops_list_packets(const_cast<char *>(keyfile.c_str()),armoured,kr,NULL) ;
|
||||
|
||||
return 0 ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue