[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Fixing OpenPGP keyring import
From: |
Ludovic Courtès |
Subject: |
Re: [gnutls-dev] Fixing OpenPGP keyring import |
Date: |
Thu, 19 Apr 2007 09:50:07 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
Simon Josefsson <address@hidden> writes:
> Timo Schulz <address@hidden> writes:
>
>> Simon Josefsson wrote:
>>
>>>> this feature to the keydb.c code. This would not break any existing
>>>> interfaces. I will do it and backport the changes to 0.5.13.
>>>> Is this ok for you?
>>>
>>> Maybe you could post the patch? I think it would be fine.
>>
>> So I won't send the wrong patch.
>>
>> We decided that opencdk base64 decodes the CDK_DBTYPE_DATA object,
>> right?
>
> Yeah, I think so. (Ludovic, correct me if I'm wrong.)
Actually no---otherwise, I could have done it myself. ;-)
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.
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
input stream).
Does it sound reasonable?
Thanks,
Ludovic.
- Re: [gnutls-dev] Fixing OpenPGP keyring import, (continued)
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/18
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Simon Josefsson, 2007/04/18
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/18
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Simon Josefsson, 2007/04/19
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Ludovic Courtès, 2007/04/19
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Simon Josefsson, 2007/04/19
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/19
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Simon Josefsson, 2007/04/20
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/20
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/19
- Re: [gnutls-dev] Fixing OpenPGP keyring import,
Ludovic Courtès <=
- Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/19
Re: [gnutls-dev] Fixing OpenPGP keyring import, Timo Schulz, 2007/04/18