I'm not sure how the GUI client gets this to work but I think it's a side effect of my configuration as much as anything.
What I want to do is to be able to call GeneratePGPCertificate() and then call GetPGPLogins() and have the new cert appear in that list. This seems to require a call to storeAllKeys() but this is a private method. The work around I've come up with is to call oadList(std::list<RsItem*>()); Which will do nothing except call storeAllKeys() and lock and unlock a mutex.