help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

certtool --to-p12 segfault if no password supplied


From: Daniel Kahn Gillmor
Subject: certtool --to-p12 segfault if no password supplied
Date: Tue, 01 Mar 2011 22:04:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101213 Icedove/3.1.7

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]