Re: gnome-keyring How to get the private fields of a private key using gck.
- From: Stef Walter <stefw collabora co uk>
- To: ravi krishna <ravi paduchuri gmail com>
- Cc: gnome-keyring-list gnome org
- Subject: Re: gnome-keyring How to get the private fields of a private key using gck.
- Date: Wed, 15 Dec 2010 08:34:53 -0600
On 2010-12-14 23:49, ravi krishna wrote:
> My use case is "To export a private key", I'm using gnutls library, and
> I am using the following API to import the private key I obtain from
> gnome keyring: gnutls_x509_privkey_import_rsa_raw ().
> This API requires each of the RSA parameters, like private exponent,
> prime 1, prime 2, etc. Without passing each of these parameters, the
> gnutls import fails. Ultimately we need to import the private key, and
> then export it in to a file. So I am unable to export a private key from
> the gnome keyring user store into a file.
Good use case. Yes, this is missing from gnome-keyring. We should be
able to have keys created with CKA_SENSITIVE = CK_FALSE and then have
access to the private bits of those keys.
Could you file a bug in bugzilla under gnome-keyring?
Thanks,
Stef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]