[gnutls-dev] Fixing OpenPGP keyring import

Timo Schulz twoaday at gmx.net
Thu Apr 19 10:09:23 CEST 2007


Ludovic Courtès wrote:

> Currently, when TYPE is `CDK_DBTYPE_DATA', `cdk_keydb_new ()'
> raw-decodes the given buffer.  My suggestion was to _keep this behavior_
> (for compatibility).  I would also suggest documenting this behavior.

Hmm, probably a good idea. In any case it should be documented.


> To support base64-decoding, I suggested introducing a new function,
> `cdk_keydb_new_from_stream ()', that would allow base64-decoding to be
> implemented in a straightforward way (by setting the armor flag on the

Ah, OK. Actually I already implemented the _from_stream version. So the
issue should be solved.


Thanks for the clarification.


	Timo



More information about the Gnutls-dev mailing list