storing keyrings into SQL database?

Werner Koch
Wed May 21 14:03:50 2003

On Mon, 19 May 2003 15:30:39 +0100, David Picon Alvarez said:

> Somewhat off-topic, but is this slowness accidental or essential? Is it
> likely to go away in the future?

This is due to the fact that the keyring is not indexed and thus we
have to do a sequentiell search for each key we need while traversing
the web-of-trust.  Furthermore we don't store any meta information
like fingerprint or keyID, so we have to calculate them on the fly :-(

I have a new storage format ready which allows for better random
access and makes searching by fingerprint really fast.  gpgsm already
uses this format.  This is the reason why I always stress that
--import and --export are the only defined interfaces to the keys.



  Nonviolence is the greatest force at the disposal of
  mankind. It is mightier than the mightiest weapon of
  destruction devised by the ingenuity of man. -Gandhi