RES: Problem on accessing a smart card in Firefox with JSS

2011-09-05 Thread Walter do Valle
> As stated in here: > http://www.mozilla.org/projects/security/pki/jss/using_jss.html, you > need specific version of nss/nspr depending on your jss library. > Apart from that, i have noticed that JSS 4.2.5 depends on libnspr, > libplc4 and libplds4 among others while modutil depends on nspr, plc

Re: Problem on accessing a smart card in Firefox with JSS

2011-09-05 Thread helpcrypto helpcrypto
I would like to add a couple of things: As stated in here: http://www.mozilla.org/projects/security/pki/jss/using_jss.html, you need specific version of nss/nspr depending on your jss library. Apart from that, i have noticed that JSS 4.2.5 depends on libnspr, libplc4 and libplds4 among others whil

Re: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Walter do Valle
Robert, thanks a lot. Works perfect with this jss3.dll! And better, I need only this one. http://download02.mozilla.org/pub/security/jss/releases/JSS_3_4_RTM/WIN954.0 _OPT.OBJ/lib/jss3.dll Repository is very confuse. Until now I don't know what version could I use. However, problem solved. Than

Re: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Robert Relyea
On 09/02/2011 12:55 PM, Walter do Valle wrote: >> Where did you get your jss4.dll? I vaguely remember a time when there >> were 2 flavors of libraries on windows (one that used NT fibers and the >> other that used regular threads). You do not want to mix these libraries >> are bad things(TM) will h

RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Walter do Valle
> Where did you get your jss4.dll? I vaguely remember a time when there > were 2 flavors of libraries on windows (one that used NT fibers and the > other that used regular threads). You do not want to mix these libraries > are bad things(TM) will happen. http://download02.mozilla.org/pub/security/

Re: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Robert Relyea
On 09/02/2011 11:55 AM, Walter do Valle wrote: libnspr4 libplc4 libplds4 >>> Did your firefox come with this libs? I have only nspr4.dll, plc4.dll and >>> plds4.dll (all 4.8.9 - Firefox 6), >> Those are the same libraries. The names are platform dependent (Linux >> and Unix and the '

Re: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Walter do Valle
>>> libnspr4 >>> libplc4 >>> libplds4 >> Did your firefox come with this libs? I have only nspr4.dll, plc4.dll and >> plds4.dll (all 4.8.9 - Firefox 6), > Those are the same libraries. The names are platform dependent (Linux > and Unix and the 'lib' prefix and usually have the extention .so (or .s

Re: RES: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Robert Relyea
On 09/02/2011 09:21 AM, Walter do Valle wrote: > Hello Robert > > Thanks again. > >> 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

Re: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Robert Relyea
On 09/01/2011 11:44 PM, helpcrypto helpcrypto wrote: > IMHO you should distribute your jss+their dependencies, cause firefox > libs are more recent and could have incompatibilities. (We had a bunch > of this kind of errors). If you are linked with FF, you need to use the FF libraries. If you have

RES: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Walter do Valle
Hello helpcrypto Thanks for your concern. > IMHO you should distribute your jss+their dependencies, cause firefox > libs are more recent and could have incompatibilities. (We had a bunch > of this kind of errors). > So, copy all files to c:\test, add c:\test to the path and > remove/rename any ot

RES: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-02 Thread Walter do Valle
Hello Robert Thanks again. > 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 fi

Re: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-01 Thread helpcrypto helpcrypto
IMHO you should distribute your jss+their dependencies, cause firefox libs are more recent and could have incompatibilities. (We had a bunch of this kind of errors). So, copy all files to c:\test, add c:\test to the path and remove/rename any other jss3.dll file on your system to ensure nothing bad

Re: RES: Problem on accessing a smart card in Firefox with JSS

2011-09-01 Thread Robert Relyea
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.toCharArr

RES: Problem on accessing a smart card in Firefox with JSS

2011-09-01 Thread Walter do Valle
to:dev-tech-crypto-bounces+wvl=jfsc.jus...@lists.mozilla.org] Em nome de Robert Relyea Enviada em: quarta-feira, 31 de agosto de 2011 21:28 Para: dev-tech-crypto@lists.mozilla.org Cc: Matthew Harmsen Assunto: Re: Problem on accessing a smart card in Firefox with JSS On 08/31/2011 11:01 AM, Walt

Re: Problem on accessing a smart card in Firefox with JSS

2011-08-31 Thread helpcrypto helpcrypto
Hi Walter. In our company we have a similar scenario: certificates on smartcard+pkcs#11 (not opensc based)+jss4+applet+firefox. Im the developer and mantainer of the smartcard+pkcs11+installers, and a partner is it for jss4+applet. AFAIK, we are using jss4 'cause we had some problems with jss3. I

Re: Problem on accessing a smart card in Firefox with JSS

2011-08-31 Thread Robert Relyea
On 08/31/2011 11:01 AM, Walter do Valle wrote: > With this scenario, I can run my applet (digitally signed), my applet can > access some certificate repositories from Firefox, but it cannot locate my > digital certificate in a smart card. > When I run the code below, I see a list of three PK11Toke

Problem on accessing a smart card in Firefox with JSS

2011-08-31 Thread Walter do Valle
Dear friends First of all, sorry for my "Pocahontas" English. English is not my natural language. Well, I'm facing a problem on access a digital certificate inside a smart card in an applet Java running on Firefox. In other words: I have an applet java that needs to access a PKCS#11 certificate in