> > > > > > I don't know that commenting out the assert is a good idea. Your > > probably getting a bogus error as a result. > > > > Have you tried using the cert to sign something? That is, skip trying > > to list it, and just go ahead and use it and see what happens. > > > > -Ian > > > Yes I did, and failed :( > One more try with -p, it succeeds. In other words, it seems very likely to be a problem of not properly initializing the PK11_Global structure.
$ ./signtool -d . -k "Test User One" -Z signed.jar -p "mypassword" empty using certificate directory: . Generating empty/META-INF/manifest.mf file.. Generating zigbert.sf file.. adding empty/META-INF/manifest.mf to signed.jar...(deflated 4%) adding empty/META-INF/zigbert.sf to signed.jar...(deflated 14%) adding empty/META-INF/zigbert.rsa to signed.jar...(deflated 34%) tree "empty" signed successfully
