Re: Help to integrate an asymmetric cryptographic algorithm in nss

2016-02-22 Thread Paul Wouters
Word of advise: instead of asking generic help of people who are all busy with dayjobs, tell them what you have done and where you ran into problems. Specific questions are very likely to get answered. Generic questions will not. Sent from my iPhone > On Feb 22, 2016, at 05:08, Djalila BrahamCh

Re: Help: Setting Miscellaneous Data Information on PK11SymKey

2012-10-09 Thread Robert Relyea
On 10/06/2012 03:34 AM, tehhzstar wrote: Hi, Currently, are there any code samples available that uses PK11_SetSymKeyUserData, PK11_GetSymKeyUserData? I am trying to store information relating to PK11SymKey: - Start Date of when the keys were created - End Date of when the keys will expire (t

Re: help starting with nss

2011-07-13 Thread Brian Smith
florent ainardi wrote: > does anyone can help me starting coding in c the nss library ? > i had to encrypt and decrypt data > can you tell me the list of function i had to call to do that > and tell me the order i suppose that there is a initialization of > context, generate key, set mode, set algo

Re: help me use aes with NSS

2011-06-24 Thread florent ainardi
On Jun 23, 8:13 pm, Robert Relyea wrote: > On 06/23/2011 02:14 AM, florent ainardi wrote: > > >>> and the same thing for a file > >>> but i don't how to start > >>> i use polarssl library and the api doc is very simple > >>> please help using the NSS library from mozilla > >>> regards all > > hell

Re: help me use aes with NSS

2011-06-23 Thread Robert Relyea
On 06/23/2011 02:14 AM, florent ainardi wrote: > >>> and the same thing for a file >>> but i don't how to start >>> i use polarssl library and the api doc is very simple >>> please help using the NSS library from mozilla >>> regards all > hello bob > thanks for replying > but i had to implement in

Re: help me use aes with NSS

2011-06-23 Thread florent ainardi
On Jun 22, 12:14 am, Robert Relyea wrote: > On 06/21/2011 07:40 AM, florent ainardi wrote:> hello all > > i would like to use the aes cipher in cbc and ecb mode with nss > > but i don't how can i can start my program > > here is the task of my program > > 1- read a text file > > 2- save it into a

Re: help me use aes with NSS

2011-06-21 Thread Robert Relyea
On 06/21/2011 07:40 AM, florent ainardi wrote: > hello all > i would like to use the aes cipher in cbc and ecb mode with nss > but i don't how can i can start my program > here is the task of my program > 1- read a text file > 2- save it into a buffer > 3- cipher the buffer with aes provided by aes

Re: Help

2010-04-15 Thread Nelson Bolyard
On 2010-04-14 19:18 PST, 虎 季 wrote: >I am an engineer working in mozilla China, I'm going to provide a > solution for Chinese banks which support IE only in China now. Welcome, 虎 季. Perhaps you can give us westerners some guidance on how to pronounce or transliterate your name in western alph

Re: Help about NSS and Windows

2009-09-07 Thread Amine
thank you for the answer. I think I'll content myself with the WinNT flavor of NSPR because building the Win95 flavor seems to be a little bit complicated :) best regards Amine -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: Help about NSS and Windows

2009-09-04 Thread Nelson B Bolyard
On 2009-09-04 01:51 PDT, Amine wrote: > Actually, I'v placed the nspr-4.6.4 libraries in c:\jss. So, I've only > replaced the debug libraries of nspr-4.6.4 by the release ones and > everything works properly. Well, if it works, I guess we should stop trying to fix it. :) > I didn't set my path t

Re: Help about NSS and Windows

2009-09-04 Thread Amine
Just a little question : why jss4.dll needs libraries of nspr package such : - libnspr4.dll - libplc4.dll - libplds4.dll even if we can expect that - nspr4.dll - plc4.dll - plds4.dll which exist in C:\Program Files\Mozilla Firefox are probably similar ? -- dev-tech-crypto mailing list dev-tech-cry

Re: Help about NSS and Windows

2009-09-04 Thread Amine
Just a little question : why jss4.dll needs libraries of nspr package such : - libnspr4.dll - libplc4.dll - libplds4.dll even if we can expect that - nspr4.dll - plc4.dll - plds4.dll which exist in C:\Program Files\Mozilla Firefox are probably similar ? -- dev-tech-crypto mailing list dev-tech-cry

Re: Help about NSS and Windows

2009-09-04 Thread Amine
Thank you very much glen for the help, Now, IT WORKS ! Now I really do the difference between a debug build and a release build. Actually, I'v placed the nspr-4.6.4 libraries in c:\jss. So, I've only replaced the debug libraries of nspr-4.6.4 by the release ones and everything works properly. I d

Re: Help about NSS and Windows

2009-09-03 Thread Glen Beasley
On 9/3/09 4:24 PM, Glen Beasley wrote: On 9/3/09 11:23 AM, Nelson B Bolyard wrote: On 2009-09-03 02:23 PDT, Amine wrote: Well, I'll try to be very precise this time. I am writing a little Java program that uses an NSS Internal PKCS#11 Module for signing. Am using Win XP, service pack 3 and

Re: Help about NSS and Windows

2009-09-03 Thread Glen Beasley
On 9/3/09 11:23 AM, Nelson B Bolyard wrote: On 2009-09-03 02:23 PDT, Amine wrote: Well, I'll try to be very precise this time. I am writing a little Java program that uses an NSS Internal PKCS#11 Module for signing. Am using Win XP, service pack 3 and, for now, no Visual C++ is installed.

Re: Help about NSS and Windows

2009-09-03 Thread Nelson B Bolyard
On 2009-09-03 02:23 PDT, Amine wrote: > Well, I'll try to be very precise this time. > > I am writing a little Java program that uses an NSS Internal PKCS#11 > Module for signing. Am using Win XP, service pack 3 and, for now, no > Visual C++ is installed. > > So am using the JSS 4.2 that uses NSP

Re: Help about NSS and Windows

2009-09-03 Thread Amine
Well, I'll try to be very precise this time. I am writing a little Java program that uses an NSS Internal PKCS#11 Module for signing. Am using Win XP, service pack 3 and, for now, no Visual C++ is installed. So am using the JSS 4.2 that uses NSPR 4.6.4 and NSS 3.11.4. I've downloaded the JSS Shar

Re: Help about NSS and Windows

2009-09-02 Thread Glen Beasley
hi, What is the debug assertion message? While you may not get the assertion in optimize build, it may be an issue that needs to be addressed. Also, please specify what versions you're using. Meaning I am trying to build JSS 4.3, NSS 3.12.4, NSPR 4.8 using Visual C++ 6.0 and Java 6. To build o

Re: Help to use PKCS 11 functions in firefox extension

2008-11-26 Thread Nelson B Bolyard
Akkshayaa Venkatram wrote: >> From the mozilla tree, >> http://mxr.mozilla.org/mozilla/source/security/nss/lib/pk11wrap/pk11pub.h#109 >> >> >> I want to call the PK11 functions for encrypt, decrypt, sign, verify, >> etc.. from my Firefox extension that is written in javascript. Robert Relyea w

Re: Help to use PKCS 11 functions in firefox extension

2008-11-26 Thread Robert Relyea
I'll repeat my answer to your question in the opensc list. We should probably keep followups in this list since there is more NSS/mozilla expertise here (which is really where your questionis coming from)... Akkshayaa Venkatram wrote: Hello, From the mozilla tree, http://mxr.mozilla.org/moz

Re: Help to use PKCS 11 functions in firefox extension

2008-11-26 Thread Akkshayaa Venkatram
Hello, From the mozilla tree, http://mxr.mozilla.org/mozilla/source/security/nss/lib/pk11wrap/pk11pub.h#109 I want to call the PK11 functions for encrypt, decrypt, sign, verify, etc.. from my Firefox extension that is written in javascript. Eg: SECKEYPrivateKey *PK11_GenerateKeyPair(PK11Sl

Re: Help to use PKCS 11 functions in firefox extension

2008-11-12 Thread Robert Relyea
Akkshayaa Venkatram wrote: Hi I am developing a Firefox extension that calls PKCS 11 functions like C_Encrypt, C_Sign, C_Decrypt and others.. We don't expose the direct C_ calls in NSS. NSS typically has the token open during the entire time, so applications making calls and changing states

RE: Help Signature Verification Error: !

2008-11-06 Thread David Stutzman
discussion list Subject: Re: Help Signature Verification Error: ! Nelson B Bolyard wrote: > Pardon my ignorance, but, what is CentOS ? > CentOS is the name of a Linux distribution. smime.p7s Description: S/MIME cryptographic signature ___

Re: Help Signature Verification Error: !

2008-11-06 Thread Kai Engert
Nelson B Bolyard wrote: Pardon my ignorance, but, what is CentOS ? CentOS is the name of a Linux distribution. Kai smime.p7s Description: S/MIME Cryptographic Signature ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https:

Re: Help Signature Verification Error: !

2008-11-05 Thread Nelson B Bolyard
leszek wrote, On 2008-11-05 07:49: >> What software displayed that error message? > > I have the same error ... in the FireFox javascript: console. If you use signtool to verify the signature on your jar file, what does it report? signtool -v my.jar Similarly, what does signtool -w my.jar

Re: Help adding private CA to cert7 file with NSS 3.6

2008-11-05 Thread Nelson B Bolyard
[EMAIL PROTECTED] wrote, On 2008-11-05 07:26: > On Oct 2, 3:53 pm, "Matthews, Tim R" <[EMAIL PROTECTED]> wrote: >> Hi All. I hope this is an acceptable question for this list; I've >> searched google and the archives and not found an answer. >> >> We use Remedy ARS (helpdesk ticketing system) and a

Re: Help Signature Verification Error: !

2008-11-05 Thread leszek
> What software displayed that error message? I have the same error ... in the FireFox javascript: console. I have created my own certificate as described here using signtool on a CentOS system: http://www.mozilla.org/projects/security/components/signed-scripts.html -- View this message in co

Re: Help adding private CA to cert7 file with NSS 3.6

2008-11-05 Thread joel . foust
On Oct 2, 3:53 pm, "Matthews, Tim R" <[EMAIL PROTECTED]> wrote: > Hi All. I hope this is an acceptable question for this list; I've > searched google and the archives and not found an answer. > > We use Remedy ARS (helpdesk ticketing system) and are migrating to > Microsoft ADAM (LDAP) using TLS fo

Re: Help Signature Verification Error: !

2008-11-02 Thread Nelson Bolyard
Balaji Kamal Kannadassan wrote, On 2008-10-31 04:24 PDT: > We have a valid certificate and I signed my jar file with the jarsigner > when I open it using jar:!/prefstryjs.html" I am getting below error. I > ran out of options, please any help on the same would be great. > > Error: > -

Re: Help adding private CA to cert7 file with NSS 3.6

2008-10-06 Thread Nelson B Bolyard
Matthews, Tim R wrote, On 2008-10-06 05:50: >> Now, about that diagnostic step, please try the following series of certutil >> commands using the same cert DB that you used in your original > > trmatthe@:~/working$ certutil -d . -M -t ",," -n client > trmatthe@:~/working$ certutil -d . -M -t "C,,

RE: Help adding private CA to cert7 file with NSS 3.6

2008-10-06 Thread Matthews, Tim R
Hi. Apologies for the poor use of client/server terminology. I've spent so long talking about the non-SSL part of this that I didn't do the context switch into SSL terms :) You are right in that no client certificates are in use. In testing I just have the CA cert and the LDAPS server cert. >

Re: Help adding private CA to cert7 file with NSS 3.6

2008-10-04 Thread Nelson B Bolyard
Matthews, Tim R wrote, On 2008-10-04 03:34: > Remedy is the client and the load balanced Adams are the servers. The > client cert is indeed for the adam server and references it by name. Thanks for confirming what I suspected. I'll write more about it below. > In test I'm doing this with 1 clie

RE: Help adding private CA to cert7 file with NSS 3.6

2008-10-04 Thread Matthews, Tim R
> You bet. Welcome. Thank-you Nelson :) [Upgrade to cert8 snipped] That sounds like a much better option from a support point of view. I had to do some LD_ tweaking to get a system running versions of NSS/NSPR that still worked with cert7 formats and I was concerned that the normal app team

Re: Help adding private CA to cert7 file with NSS 3.6

2008-10-03 Thread Nelson B Bolyard
Matthews, Tim R wrote, On 2008-10-02 13:53: > Hi All. I hope this is an acceptable question for this list; You bet. Welcome. > I’ve searched google and the archives and not found an answer. > > We use Remedy ARS (helpdesk ticketing system) and are migrating to > Microsoft ADAM (LDAP) using TLS

Re: Help adding private CA to cert7 file with NSS 3.6

2008-10-02 Thread Julien R Pierre - Sun Microsystems
Matthews, Tim R wrote: > Hi All. I hope this is an acceptable question for this list; I’ve > searched google and the archives and not found an answer. > > > > We use Remedy ARS (helpdesk ticketing system) and are migrating to > Microsoft ADAM (LDAP) using TLS for encryption. I am responsible

Re: Help

2007-09-27 Thread a_d . morris
Transferred the two files (libfreel3.so & .chk) to the working directory and now everything functions properly. So a big Thank You. -- Alan Morris ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/d

Re: Help

2007-09-26 Thread Wan-Teh Chang
On 9/26/07, Robert Relyea <[EMAIL PROTECTED]> wrote: > > Currently there are really only 3 errors that a PKCS #11 module can > return when it's having internal problems (that is errors that are > independent of the caller's usage): CKR_FUNCTION_FAILED, > CKR_GENERAL_ERROR, CKR_DEVICE_ERROR. > > Typ

Re: Help

2007-09-26 Thread Robert Relyea
Wan-Teh Chang wrote: On 9/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I have just unzipped "nss-3.11.4-with-nspr-4.6.4.tar.gz" (downloaded from the site) and then followed the build instructions - all seemd to go without problems. I then transferred some of the .so's and the ut

Re: Help

2007-09-26 Thread Robert Relyea
[EMAIL PROTECTED] wrote: Hi, I have just unzipped "nss-3.11.4-with-nspr-4.6.4.tar.gz" (downloaded from the site) and then followed the build instructions - all seemd to go without problems. I then transferred some of the .so's and the utility "certutil" - -rwxr- 1 alanmusers

Re: Help

2007-09-26 Thread Wan-Teh Chang
On 9/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I have just unzipped "nss-3.11.4-with-nspr-4.6.4.tar.gz" (downloaded from > the site) and then followed the build instructions - all seemd to go > without problems. I then > transferred some of the .so's and the utility "certutil"

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Frank wrote: Yeah, I'm using make from cygwin, but the problem still exists. Please check that you have these exact cygwin tools : http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29 ___ dev-te

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Frank
Yeah, I'm using make from cygwin, but the problem still exists. "Julien Pierre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wei, > > [EMAIL PROTECTED] wrote: > >>>Are you using cygwin's make program ? Please do a "which make" to >>>verify. If not, you need to do so. >> >> I have

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Frank
Dave, ARGH~! was looking at: http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_1_RTM/ http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_2_RTM/ http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_3_RTM/ instead of http://ftp.mozilla.org/pub/m

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Wei, [EMAIL PROTECTED] wrote: Are you using cygwin's make program ? Please do a "which make" to verify. If not, you need to do so. I have the same issue. make does not exist under cygwin. I used gmake from moztools. Yes, cygwin has its own verison of make. Just not in your own cygwin insta

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
Nelson B wrote: > Frank Lee wrote: > > Found Cl to be from Microsoft Visual Studio 8 > > Right. It's Microsoft's version of "cc", the c compiler. > > > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ON

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
Julien Pierre wrote: > Frank, > > Frank Lee wrote: > > sh ../../build/cygwin-wrapper > > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 > > -D_X86_=1 > > -DFORCE_PR_LOG > > /cygdrive/c/Frank_L

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Frank, Frank Lee wrote: sh ../../build/cygwin-wrapper cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 -D_X86_=1 -DFORCE_PR_LOG /cygdrive/c/Frank_Lee/Eclipse/Academy_workspace/NSS_SignTools/moz

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
do u have MS VisualStudio? If not, there is a personal edition for free from Microsot site. Google for it. BTW, I have not resolved my issues yet. NSPR library is fine because every compile is wrapped by cygwin_wrapper that handles the unix-style path before passing it to cl.exe. This is not done

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread David Stutzman
Frank Lee wrote: Anyway, all this work I'm trying to do comes from trying to enable my .jsp page to AJAX to a localhost server. Here's my train of actions so far: Ajax to localhost? => Need signed scripts. Signed scripts? => Need SignTool Need SignTool? install cygwin + Build NSS + install mozt

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Nelson B
Frank Lee wrote: > Found Cl to be from Microsoft Visual Studio 8 Right. It's Microsoft's version of "cc", the c compiler. > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 > -D_X86_=1 > -DF

Re: Help on building NSPR, NSS on Windows

2006-10-24 Thread Frank Lee
Found Cl to be from Microsoft Visual Studio 8 and I've added the classpath to "C:\Program Files\Microsoft Visual Studio 8\VC\bin", only to meet with another error: C:\Frank_Lee\Eclipse\Academy_workspace\NSS_SignTools\mozilla\security\nss>make nss_build_all cd ../coreconf ; make make[1]: Enteri

Re: Help on building NSPR, NSS on Windows

2006-10-16 Thread Wan-Teh Chang
[EMAIL PROTECTED] wrote: Figure that out but still encountered an error due to cygwin's style for file path. gmake[2]: Entering directory `C:/mozilla/mozilla/security/dbm/src' cl /cygdrive/c/mozilla/mozilla/security/dbm/src/../../../dbm/src/h_bigkey.c cl : Command line warning D9002 : ign

Re: Help on building NSPR, NSS on Windows

2006-10-16 Thread Wan-Teh Chang
[EMAIL PROTECTED] wrote: It turns out that the file "configure" has \r\n line terminators. I changed it and a few other script files. I see. I believe this is because you chose the "Unix files" option during the installation of Cygwin. You should have chosen the "DOS files" option. I don't

Re: Help on building NSPR, NSS on Windows

2006-10-16 Thread [EMAIL PROTECTED]
Figure that out but still encountered an error due to cygwin's style for file path. gmake[2]: Entering directory `C:/mozilla/mozilla/security/dbm/src' cl /cygdrive/c/mozilla/mozilla/security/dbm/src/../../../dbm/src/h_bigkey.c cl : Command line warning D9002 : ignoring unknown option '/cygd

Re: Help on building NSPR, NSS on Windows

2006-10-16 Thread [EMAIL PROTECTED]
Thanks! It turns out that the file "configure" has \r\n line terminators. I changed it and a few other script files. It now gets passed that but got an error for link link -nologo .. link: invalid option -- n Try `link --help' for more information. $ which link /usr/bin/link $ echo $PATH

Re: Help on building NSPR, NSS on Windows

2006-10-15 Thread Wan-Teh Chang
[EMAIL PROTECTED] wrote: I downloaded NSPR 4.6.1 and NSS 3.11 from CVS. But build on Windows failed. I have cygwin, VC++ 2005 personal edition, and moztools installed. OS is Windows XP It failed on nspr configure. Do I need autoconf on my Windows? You don't need autoconf. autoconf is only

Re: Help with certutil

2006-03-17 Thread Jim McCullars
On Fri, 17 Mar 2006, Nelson B wrote: > Jim and I communicated about this issue off-list. Yes, and I really appreciate the help. Jim McCullars University of Alabama in Huntsville ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org

Re: Help with certutil

2006-03-17 Thread Nelson B
Jim and I communicated about this issue off-list. This message is just to summarize some of our findings. Jim McCullars wrote: > Hi, I am trying to get an SSL connection to an LDAP server using the LDAP > SDK and PerLDAP. I can make that work without SSL, but I think I need to > create a certific

Re: Help with certutil

2006-03-16 Thread Sandeep Konchady
Hi Jim, Could you please check the listing in your .../nss-3.11/lib directory to see if you have libnss3.so? If you do, could you please also check the following: >strings libnss3.so | grep Header You should get something like: $Header: NSS 3.11 Jan 12 2006 16:05:41 $ The other way to

Re: Help with invalid certificate problem

2006-02-07 Thread Arshad Noor
This is definitely an Entrust product question. Usually, you will not see the certificate extensions when you're approving a CSR (unless the PKI builders chose to make it visible to you). Configuring the CA to tweak the key-usage bits requires going into some configuration mode (perhaps through

Re: Help with invalid certificate problem

2006-02-07 Thread Nelson B
Vivek Kumar wrote: > Could anyone please tell me how to change the extension of the server > cert to include "Key encipherment" for KeyUsage? When creating the > server cert I did not see any options to modify the attribute.. > We have setup the CA using Entrust and uisng IIS 6.0 as the web-server

Re: Help with invalid certificate problem

2006-02-07 Thread Vivek Kumar
I am facing the same issue, client authentication working with IE but not with NSS/FF/Mozilla :   "Could not establish an encrypted connection because certificate presented by is invalid or corrupted. Error code: 8102"   Could anyone please tell me how to change the extension of the server cert to