On 09/01/2011 12:10 PM, Walter do Valle wrote:
> However, another problem emerged from the depths of dlls of jss.
> When I run my code, even in an isolated standalone test application, I get a
> fatal error from jvm.
> This error occurs when method oCryptoToken.login(new
> Password(poPass.toCharArray())) is called.
> Versions of libraries:
>
> - nss3.dll 3.12.9.0 (provided by firefox) 
> - jss3.dll 3.4.0.0 (added by me)
> - libnspr4.dll 4.2.2.0 (added by me)
> - libplc4.dll 4.2.2.0 (added by me)
> - libplds4.dll 4.2.2.0 (added by me)
> - jss34.jar (added by me)

NPR 4.2.2 is quite old. The latest is 4.8.8. I don't know if that's your
problem, but running a newer version of NSS with an older version of
NSPR could cause some problem. NSPR is the lowest layer of the stack, so
must be the must up-to-date. I'd use the firefox provided versions of:

libnspr4
libplc4
libplds4

Using newer version of NSS and NSPR with older versions of JSS should
not be a problem, since JSS is higher on the stack.

bob
> This site http://www.mozilla.org/projects/security/pki/jss/using_jss.html
> says component versions that can be combined with each other.
>
> Someone knows something about this problem?


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

Reply via email to