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
Robert and helpcrypto Thank you so much for your help. With your help this problem was solved. My mistake was to call CryptoManager.initialize(".") As Robert said, "." refers to Firefox installation folder, not user profile folder. The personal certificates database lives there. In my case path m

Re: Restricting which CAs can issue certs for which hostnames

2011-09-01 Thread Sean Leonard
Looks like there is some discussion on mozilla.dev.security; I wanted to respond from more of an NSS point of view. On 8/30/2011 9:46 AM, Boris Zbarsky wrote: I was looking at our CA root list, and a lot of them seem like "specialist" CAs that would only issue certs for a limited range of hostn

Compile NSS+JSS+modutil/certutil on Windows under mingw

2011-09-01 Thread helpcrypto helpcrypto
Checking https://developer.mozilla.org/jss_build_4.3.html i succesfully compiled some time ago NSS+JSS+modutil/certutil for OSX 10.6.7 I reported in on wiki https://developer.mozilla.org/HOWTO_successfully_compile_JSS_and_NSS_for_32_and_64_bits_on_OSX_10.6_%2810.6.7%29 how i did it. This week i pl

Problem with sample code of mozilla

2011-09-01 Thread florent ainardi
hi all i download the sample for cipher operation the program use ciphermech=CKM_DES_CBC_PAD mode pour encrpt data if i change the mechanism by CKM_DES_CBC the same program doesn't work the rv1 line return the error code -1 the code can be download here : http://www.mozilla.org/projects/security/

AES documentation for NSS

2011-09-01 Thread florent ainardi
hi all i am writting a programm using AES_CBC or AES_ECB but i don't find any documentation on the website for the parameters perhaps i don't look at the right place if you have a link that describes all the parameters for the function pk11_CipherOp you're welcome regards -- dev-tech-crypto maili