[gnutls-dev] Problem with passphrase (opencdk-0.5.8)

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon May 15 20:40:43 CEST 2006


On Mon 15 May 2006 12:23, Rafael Martin wrote:
> Hi,
>
>   I create a pair of keys using opencdk libraries:
>
> cdk_keygen_new(&hd);
> cdk_keygen_set_algo_info(hd, 0, CDK_PK_RSA, key_len);
> cdk_keygen_set_name (hd, name);
> cdk_keygen_set_expire_date (hd, 0, 864000);
> cdk_keygen_set_passphrase (hd, "a");
> cdk_keygen_start (hd);
> cdk_keygen_save (hd, "file.pub", "file.priv");
[...]
> Gnupg ask me for the passphrase and SURPRISE!!! it doesn't accept the
> one I've set (in this case 'a')

Hmmm opencdk and the openpgp part of gnutls are unmaintained for quite 
long time and I don't think this gonna change soon. So on that you're 
on your own to check the internals. You might try sending mail to Timo 
but I don't know whether he supports opencdk any more.


regards,
Nikos



More information about the Gnutls-dev mailing list