Hi,
 I am trying to use cmsutil to encrypt a message, but it only segfaults.

OS: 5.2.1-RC
NSS: nss-3.9.2 from ports


What I did: --------------------------------------------------------------------------- echo foobar > passwd

dd if=/dev/urandom of=rand.seed count=1

certutil -N -f passwd -d .

certutil -S -s "cn=netauth ca,dc=netauth,dc=com" -n "netauth.com" \
        -f passwd -z rand.seed -x -t "C,C,C" -d .

certutil -R -s "cn=jimi hendrix,ou=people,dc=netauth,dc=com" \
        -z rand.seed -f passwd -o jimi.req -d .

certutil -C -i jimi.req -o jimi.crt -f passwd -z rand.seed \
        -c netauth.com -d .

certutil -A -n [EMAIL PROTECTED] -f passwd -t "P,P,P" -i jimi.crt -d .

certutil -R -s "cn=tom jones,ou=people,dc=netauth,dc=com" \
        -z rand.seed -f passwd -o tom.req -d .

certutil -C -i tom.req -o tom.crt -f passwd -z rand.seed \
        -c netauth.com -d .

certutil -A -n [EMAIL PROTECTED] -f passwd -t "P,P,P" -i jimi.crt -d .

certutil -L -d .

[EMAIL PROTECTED]                                              Pu,Pu,Pu
netauth.com                                                  Cu,Cu,Cu
[EMAIL PROTECTED]                                             Pu,Pu,Pu

cmsutil -E -r [EMAIL PROTECTED] -i jimi.txt -d . -p foobar -o jimi.env
Segmentation fault (core dumped)

cp /usr/local/lib/libnssckbi.so .

cmsutil -E -r [EMAIL PROTECTED] -i jimi.txt -d . -p foobar -o jimi.env
Segmentation fault (core dumped)



What I expected to happen:
--------------------------------------------------------------------------------
cmsutil would create a CMS enveloped data message for [EMAIL PROTECTED], jimi.env



What happened: ------------------------------------------------------------------------------- Segmentation fault (core dumped)



NOTE: I faced exactly the same problem on Gentoo Linux.


I would really like to get this working. If somebody has time to spend with me on this, I would really appreciate it. I can get on IRC with you and work through it together. If interested, please respond to my email address as well.


Thanks,
Mike



_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to