[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] unencrypted PKCS#12
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [gnutls-dev] unencrypted PKCS#12 |
Date: |
Wed, 20 Oct 2004 00:06:13 +0200 |
User-agent: |
KMail/1.7 |
On Tuesday 19 October 2004 23:15, Aleix Conchillo Flaque wrote:
> >> - gnutls_pkcs12_bag_decrypt(bag, "") works, but if I pass a NULL I get
> >> a segmentation fault.
> > I'll check it soon (I'm pretty stressed now with other things).
> > But anyway why do you want to decrypt a bag that is not encrypted?
> Because I don't know if it is encrypted or not. For example, if I
> don't use this function with empty password I get a
> GNUTLS_BAG_ENCRYPTED type with the certificate bag with an unencrypted
> PKCS#12.
Do you use gnutls_pkcs12_bag_get_type()? In that function you must also
specify the index of the bag element to check. Certtool makes use of this
function and seems to work.
> regards,
> aleix
--
Nikos Mavrogiannopoulos
- [gnutls-dev] unencrypted PKCS#12, Aleix Conchillo Flaque, 2004/10/18
- Re: [gnutls-dev] unencrypted PKCS#12, Nikos Mavrogiannopoulos, 2004/10/19
- Re: [gnutls-dev] unencrypted PKCS#12, Aleix Conchillo Flaque, 2004/10/19
- Re: [gnutls-dev] unencrypted PKCS#12,
Nikos Mavrogiannopoulos <=
- Re: [gnutls-dev] unencrypted PKCS#12, Aleix Conchillo Flaque, 2004/10/19
- Re: [gnutls-dev] unencrypted PKCS#12, Nikos Mavrogiannopoulos, 2004/10/19
- Re: [gnutls-dev] unencrypted PKCS#12, Joe Orton, 2004/10/19
- [gnutls-dev] Re: unencrypted PKCS#12, Simon Josefsson, 2004/10/24
- Re: [gnutls-dev] Re: unencrypted PKCS#12, Joe Orton, 2004/10/24
- [gnutls-dev] Re: unencrypted PKCS#12, Simon Josefsson, 2004/10/24
- Re: [gnutls-dev] unencrypted PKCS#12, Joe Orton, 2004/10/24
Re: [gnutls-dev] unencrypted PKCS#12, Nikos Mavrogiannopoulos, 2004/10/27