Bug#588029: Segmentation fault when trying to script certtool from gnutls using echo pipe command
ametzler at downhill.at.eu.org
Sun Jul 4 11:48:06 UTC 2010
On 2010-07-04 "Boris L. Zanin" <bzanin at tut.by> wrote:
> Package: gnutls-bin
> Version: 2.4.2-6+lenny2
> Severity: important
> *** Please type your report below this line ***
> Create and run the following script file:
> certtool -p --outfile 1.pem
> echo 'BY\n'|certtool -s --load-privkey 1.pem --outfile 2.crt
> This error is annoying and prevents creation of autoconfiguration
> scripts, hope this will be fixed soon.
> Meanwhile, any workaround is also acceptable.
Workaround is easy, the proper way to script certtol is this one:
Manual page certtool(1):
| Use a template file to read input. See the doc/certtool.cfg in
| the distribution, for an example.
(The respective file is installed as
/usr/share/doc/gnutls-bin/examples/certtool.cfg on Debian.)
More information about the Pkg-gnutls-maint