certtool --to-p12 segfault if no password supplied

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Mar 2 04:04:37 CET 2011


given a passphraseless key.pem and a corresponding cert.pem , certtool
appears to crash with a segfault if i do:

      certtool --to-p12 \
        --load-privkey "key.pem" \
        --load-certificate "cert.pem" \
        --outfile "pkcs12.p12" \
        --template /dev/stdin <<EOF
pkcs12_key_name = "test"
EOF


I can avoid the segfault by supplying one more argument:

  --password ""


or by adding another line to the template:

 password = ""

I'm using 2.10.4-2 from debian.

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110301/e212fbba/attachment.pgp>


More information about the Gnutls-help mailing list