[gnutls-dev] unencrypted PKCS#12
Aleix Conchillo Flaque
aleix at member.fsf.org
Tue Oct 19 23:15:14 CEST 2004
Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
>> - 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
> I'll check it as soon that too. The only example currently for PKCS #12 is the
> certtool utility (although it's code is a mess).
Ok. Don't worry, take your time :).
Thanks for the answer.
More information about the Gnutls-devel