duryodhan wrote:
> signver: function failed: An I/O error occurred during security
> authorization

I *think* a lot of those errors point to it having problems with the 
security db for one reason or another (password or location...)

Try doing "certutil -L -d <profiledir>" and see if it lists anything. 
If it does, try "certutil -K -d <profiledir>" and it should prompt you 
for your password.  The first command lists certs and needs no password, 
the second keys.  PKCS7 can have the cert that signed the data included, 
but I think that is optional.  If your signature doesn't contain any 
certs and if the first command lists nothing then that would be a good 
reason for the signver command to fail because it is not finding a cert 
that it can verify the signature with.  I don't know if crypto.signText 
creates a sig that includes certs or not.

> Is the fact that I am using just a binary build, and  haven't done the
> whole,  make and make install, matter?

That doesn't matter.  I use pre-built versions on windows and self-built 
versions on Linux and I've never noticed a difference in behavior.

I have no direct experience creating/verifying signatures in the way you 
are trying.  Sorry I can't help more.

Dave
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to