mozilla-xp.com | Post Question | Search | About | Groups | Contact | Register | Login



mozilla feedback firefox (6296)

mozilla feedback (2094)

mozilla feedback firefox prerelease (1989)

mozilla feedback companion ebay (1651)

mozilla feedback thunderbird (860)

mozilla support thunderbird (812)

mozilla support seamonkey (511)

mozilla dev tech crypto checkins (461)

mozilla support firefox (408)

mozilla support bugzilla (397)

mozilla dev extensions (359)

mozilla feedback thunderbird prerelease (334)

netscape public mozilla reviewers (272)

mozilla dev mdc feedback (270)

netscape public beta feedback (268)

netscape public mozilla crypto checkins (265)

mozilla dev apps thunderbird (252)

netscape public mozilla jobs (224)

mozilla dev tech plugins (194)

mozilla dev apps firefox (190)

mozilla dev tech xul (190)

mozilla dev apps calendar (187)

mozilla dev embedding (181)

netscape public mozilla embedding (177)

netscape public mozilla test (174)

netscape public dev xul (169)

mozilla dev planning (169)

mozilla support calendar (167)

mozilla dev tech js-engine rhino (165)

netscape public mozilla layout xslt (164)

mozilla test (163)

netscape public mozilla jseng (160)

mozilla dev platform (159)

netscape public mozilla crash-data (159)

netscape public mozilla xpcom (159)

mozilla dev platforms mobile (157)

mozilla marketing (156)

netscape public mozilla webtools (155)

mozilla jobs (153)

mozilla dev builds (153)

mozilla dev tech xpcom (150)

mozilla support webtools (148)

mozilla dev accessibility (147)

netscape public mozilla calendar (146)

netscape public mozilla xml (138)

mozilla dev tech java (137)

netscape public mozilla gtk (136)

mozilla community drumbeat (135)

mozilla dev tree-management (131)

mozilla dev apps bugzilla (130)

netscape public mozilla i18n (130)

netscape public mozilla prefs (129)

netscape public mozilla qa general (129)

mozilla dev amo (128)

netscape public mozilla general (127)

netscape public mozilla rdf (126)

netscape public mozilla xpinstall (126)

netscape public mozilla xpfe (123)

netscape public mozilla plugins (122)

netscape public mozilla java (122)

netscape public mozilla ui (119)

netscape public mozilla accessibility (118)

netscape public mozilla wishlist (117)

netscape public mozilla mac (116)

mozilla dev tech js-engine (116)

mozilla dev apps seamonkey (116)

netscape public mozilla crypto (112)

netscape public mozilla mathml (112)

mozilla dev tech crypto (111)

netscape public mozilla beos (111)

netscape public mozilla jsdebugger (110)

netscape public mozilla license (109)

netscape public mozilla qa browser (109)

mozilla wishlist (108)

mozilla dev quality (107)

mozilla dev tech xforms (106)

netscape public mozilla directory (106)

netscape public mozilla editor (106)

netscape public mozilla macosx (106)

mozilla dev apps js-debugger (105)

netscape public mozilla performance (103)

netscape public mozilla builds (100)

mozilla dev ports os2 (100)

netscape public mozilla qt (98)

netscape public mozilla mail-news (97)

mozilla announce (96)

netscape public mozilla documentation (94)

netscape public mozilla os2 (93)

netscape public mozilla nspr (93)

netscape public mozilla netlib (93)

netscape public mozilla style (92)

mozilla support planning (92)

netscape public mozilla patches (91)

mozilla dev l10n web (91)

mozilla dev tech nspr (89)

mozilla dev mdc (87)

mozilla dev tech network (87)

mozilla dev l10n (87)

mozilla dev tech css (86)

mozilla dev l10n cs (85)


mozilla.dev.tech.crypto Post New
Items(111) /2 Next >> Last >|
Subject Posted Replies From
Cipher not picked/enabled in a TLS session

Hello all ! I added a cipher in NSS and OpenSSL. I would like to create a TLS session between those two. In OpenSSL, the tests suite works fine (make tests) and I can get a working TLS tunnel with my cipher. I guess my problem is in NSS, that's why I ask for your help. At this time, the cipher added in NSS works fine for S/Mime and I would like to use my new cipher for TLS. I do something wrong but I don't know what. I know what I did doesn't work because at the server side, I can see in the log the cipher negociated and it's AES. I recently ask here where the TLS cipher

3/11/2010 5:32:12 PM 0 Gregory BELLIER <gregory.bell...@gmail.com>



TLS logout in Firefox

Hi, I can't help it, but TLS client cert auth is really a very crappy system when used in browsers. I was a little bit surprised once when I logged on to the Swedish tax department, then did logout, and returned still being logged in! Microsoft "solved" this years ago by offering a document.execCommand('ClearAuthenticationCache') non-standard extension. What non-standard quirky thing works in Firefox? Anders

3/11/2010 1:59:55 PM 0 Anders Rundgren <anders.rundg...@telia.com>
Re: Problems importing PKCS #12 client certs

This is an S/MIME signed message generated with Gmail S/MIME. --gmsm0.4.5eqg6hmy645gjvwf6wzci2 Content-Type: text/plain; format=flowed On Thu, Mar 4, 2010 at 6:42 AM, Eddy Nigg <eddy_nigg@startcom.org> wrote: >> Chris Hills wrote: >>> >>> Perhaps there is place for a fork of firefox (perhaps an "enterprise" >>> version) that uses the windows certificate store and dispenses with the >>> local certificate store. I understand that support for MSI installation >>> is already being worked on. >> >> I think it would make much, much more sense to use the OS store for >> private ke

3/7/2010 9:23:05 AM 4 aerow...@gmail.com
NSS 3.12.6 is RTM.

This is a cryptographically signed message in MIME format. --------------ms070201060705020103030306 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The NSS team has just RTM'ed NSS 3.12.6. The primary feature of NSS 3.12.6 is support for the TLS Renegotiation In= dication Extension, RFC 5746. Release notes are forthcoming with other additions and bug fixes. In addition, a new version of JSS has been released, JSS 4.3.2 which allo= ws application to control the default behaviors in using the extension. For JSS 4.3.2 see: https://bugzill

3/4/2010 11:52:39 PM 0 Robert Relyea <rrel...@redhat.com>
certutil, nickname and serial number

Hello, I am new to SSL and certificates and I have to setup Apache's Qpid broker using both server authentication and client authentication which requires certificates on both sides. We will store a certificate from each client (which he has self-certified) on our Qpid broker machines using certutil. One question now was whether we could store two certificates of one client where - the validity period of both certificates overlap - the subject of the certificates are identical I tested it and found that this is possible, even with identical nicknames. I added the certificates

2/23/2010 12:05:16 PM 0 Armin.N...@deutsche-boerse.com
popChallengeResponse sample code?

Hello I consider writing a SASL plugin for performing certificate-based browser to LDAP directeory authentication, over an unprivilegied web application. The idea is that the LDAP directroy would send a nonce, and the browser should send it back signed. popChallengeResponse seems do do what I need: https://developer.mozilla.org/en/PopChallengeResponse But there is not a lot of information about that function. Is there any sample code using it? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@netbsd.org

2/21/2010 8:26:19 AM 0 m...@netbsd.org (Emmanuel Dreyfus)
Another protection layer for the current trust model

Background Recently I have read the problem of Mozilla and CNNIC. Many years ago, I was a cryptography researcher, I worked on this problem when my country =96 Vietnam =96 started working on a central PKI. Vietnam is similar to China, the possibility of being cheated by rogue certificates created under government's pressure is the risk people must anticipate. I designed a mechanism to add another protection layer to the current trust model, which may solve this problem quite elegantly. The mechanism * When the user agent software (usually a web browser) obtains a certificate which

2/20/2010 4:46:03 PM 1 =?UTF-8?B?Tmd1eeG7hW4gxJDDrG5oIE5hbQ==?= <nguyendinh...@gmail.com>
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 00799

Contato: marvendas@gmail.com marvendas @ gmail.com marvendas no gmail.com Kit completo de solenoides para Volkswagem e Audi. O kit contem: 5 solenoides 2 Epc ( solenoides de pressao ) 1 Chicote Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M Pre�o: R$ 1900.00 Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar! Audi a3 automatico Audi a3 1.8 t automatico Audi a3 1.8 turbo automatico VW Golf gti automatico VW Golf 2.0 automatico VW Golf 1.8 turbo auto

2/20/2010 4:03:59 PM 0 kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
[ANNOUNCE] NSS 3.12.6 Release Candidate 0

NSS 3.12.6 Release Candidate 0 is now available for testing. The CVS tag is NSS_3_12_6_RC0. The main feature in NSS 3.12.6 is the TLS renegotiation indication extension, specified in RFC 5746. You can test the client side code using Firefox trunk nightly builds, and the server side code using https://ssltls.de/. Wan-Teh Chang

2/19/2010 3:16:15 AM 0 Wan-Teh Chang <...@google.com>
List/remove cached S/MIME capabilities

HI! I'm using Seamonkey 2.0.3 under Linux. Is there a way to list and tweak the cached S/MIME capabilities for certain recipients? Ciao, Michael. -- Michael Str�der E-Mail: michael@stroeder.com http://www.stroeder.com

2/18/2010 11:06:26 AM 0 =?ISO-8859-1?Q?Michael_Str=F6der?= <mich...@stroeder.com>
NSS_Init failure

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, I am working on a project that requires hashing data. Unfortunately, I have been unable to get NSS to return a valid context for hashing. Here is the initialization code: 62 void chasm :: mylib_init() - - 63 { | 64 chasm_init_data.s_nspr_inited = PR_FALSE; | 65 chasm_init_data.s_nss_inited = PR_FALSE; | 66 | 67 if (!PR_Initialized()) |- 68 { || 69 PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0); || 70 || 71 if (!PR_Initialized()) || 72 _nss_error(); |

2/16/2010 11:53:09 PM 0 Ben Boeckel <MathS...@gmail.com>
Using NSS TLS renegotiation fix when using SunJSSE

hi, I'm using SunPKCS11 provider which is associated with NSS (NSS version 3.12.5). the SunPKCS11 provider is configured to be used as the provider of a Tomcat server. SSL/TLS renegotiation is disabled by default in NSS 3.12.5, but i'm still getting indication that the TLS renegotiation is enabled. (using Nessus tool) how should i configure Tomcat or Sun provider to use NSS capability to disable the SSL/TLS renegotiation? should i use JSS socket within my Tomcat's socket factory to achieve that? Thanks, abarak -- View this message in context: http://old.nabble.com/U

2/16/2010 4:31:01 PM 0 abarak <alba...@cisco.com>
Problems importing PKCS #12 client certs

Hello everyone, Bug 542441 claims that Gecko/Firefox is not importing PKCS#12 client certs. https://bugzilla.mozilla.org/show_bug.cgi?id=542441 I am also being told by the bug filer that IE, Opera, Chrome and Safari have no problems importing PKCS#12 certs. Could those of you who have more experience with PKCS#12 certs take a look at this bug and provide feedback? I'm a bit surprised that Firefox doesn't support PKCS#12. Thank you, Gen -- Gen Kanai http://blog.mozilla.com/gen/

2/14/2010 10:24:52 PM 6 Gen Kanai <gka...@gmail.com>
Does anyone make Mozilla JSS 4.3.1/NSS 3.12.4 work at Android ?

--000e0ce0d6360c70b2047f65158b Content-Type: text/plain; charset=ISO-8859-1 Hi, Does anyone make Mozilla JSS 4.3.1/NSS 3.12.4 work at Android ? Best regards. mli --000e0ce0d6360c70b2047f65158b Content-Type: text/html; charset=ISO-8859-1 Hi,<br> <br> Does anyone make Mozilla JSS 4.3.1/NSS 3.12.4 work at Android ?<br> <br> Best regards.<br> mli --000e0ce0d6360c70b2047f65158b--

2/12/2010 10:53:48 AM 0 msm Li <mlim...@gmail.com>
Re: Using existing NSS/NSPR DLLs from Firefox in another app on OS/2

Wan-Teh Chang wrote: > On Tue, Feb 9, 2010 at 12:16 AM, Marty <net@comcast.martyamodeo> wrote: >> I'm trying to use the NSS/NSPR DLLs from Firefox on OS/2 for another >> application (libpurple, an instant messaging library). I'm linking up with >> them correctly (as far as I can tell), and initializing them in a standard >> way, but when I call SECMOD_AddNewModule, I get a GPF unless Firefox is >> already running on the system. When I have Firefox running, everything >> seems to work well and I can make SSL connections through NSS successfully. >> >> My app is GCC and GLIB-based. I

2/10/2010 8:07:44 AM 0 Marty <...@comcast.martyamodeo>
Firefox does not show "Choose Security Device" when requesting certificate

Hello, We have been developing a PKCS#11 DLL for our smart card. Recently we are testing it in Firefox 3.6. When we try to request a certificate in GlobalSign (http://secure.globalsign.net/phoenixng/verify.cfm? id=1126660234&reset=yes) The "Choose Security Device" box is not shown and it automatically generates the Key-pair in the "Software Security Device". We can say this since after the e-mail verification and installation, viewing the newly requested certificate in Firefox says its stored in "Software Security Device" We can say that our PKCS#11 is working fine since this scen

2/9/2010 7:29:24 AM 0 jomski <joemar.ma...@gmail.com>
MDC : NSS_cryptographic_module : No doc on NSC_ModuleDBFunc

Hi, On https://developer.mozilla.org/en/NSS_reference/NSS_cryptographic_module page, there's a link for NSC_ModuleDBFunc but it points nowhere. Was the doc never written, or did it get lost in some reorganization of the site ?

2/8/2010 4:48:51 PM 0 Jean-Marc Desperrier <jmd...@alussinan.org>
CKA_SIGN and CKA_VERIFY

Hi, In the sample that I am working on, I need to decrypt the mac appended plaintext. But while verifying the MAC, I am using the below context to call PK11_DigestFinal. PK11_CreateContextBySymKey(CKM_MD5_HMAC, CKA_VERIFY, mk, &noParams); (where mk is MAC key.) But the call PK11_DigestFinal is returning -8191 (Library failure). The code is failing at the below place in security/nss/lib/pk11wrap/pk11cxt.c case CKA_VERIFY: crv=PK11_GETTAB(context->slot)->C_VerifyFinal(context->session, data,len); Can someone please advi

2/6/2010 11:29:11 AM 0 Shailendra N Jain <shailen.n.j...@gmail.com>
Converting jks to secmod.db

--0-325225429-1265151613=:52133 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello All - I'm very new to all this - forgive a potentially ignorant question. I believe have created a keystore with the following commands certutil -N -d . modutil -fips true -dbdir . I am changing my application from using JKS to NSS's keystore implementatio= n for FIPS compliance needs. I have public and private keys stored in a JKS that I would like to import = into=A0 NSS's keystore. When I run this command (with the correct passwords): keytoo

2/2/2010 11:00:13 PM 0 Anna Gellatly <abrick...@yahoo.com>
can't seem to init SQLite db with JSS 4.3.1

I recently built NSS 3.12.5/NSPR4.8.2 and JSS 4.3.1 on a RHEL4.8 system (SUN JDK 1.6u18). certutil works fine with -d sql:., but JSS tosses an exception when I try to initialize pointing to a (freshly created with certutil) SQLite DB whereas it will initialize with the legacy db format. Exception in thread "main" java.lang.SecurityException: Unable to initialize security library at org.mozilla.jss.CryptoManager.initializeAllNative(Native Method) at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:919) at org.mozilla.jss.CryptoManager.initial

2/1/2010 2:37:09 PM 0 David Stutzman <dstutz.m...@nospam.dstutz.com>
Obsolete CERT functions using SECCertUsage

--001485eb00604ce87b047d74041b Content-Type: text/plain; charset=ISO-8859-1 Hi, In cert.h ( http://mxr.mozilla.org/security/source/security/nss/lib/certdb/cert.h#714), there is a line about obsolete functions: **OLD OBSOLETE FUNCTIONS with enum SECCertUsage - DO NOT USE FOR NEW CODE And also in certvfy.c ( http://mxr.mozilla.org/security/source/security/nss/lib/certhigh/certvfy.c#1533 ): /* obsolete, do not use for new code */ That's all functions below those lines that use SECCertUsage? What version would you be expecting to phase them out? Thanks, Kai --0

1/18/2010 5:52:28 PM 0 Kai Chan <nahc...@gmail.com>
How to get CKA_ID from a symmetric key?

Hi, I am looking at https://bugzilla.mozilla.org/show_bug.cgi?id=490238 and working on writing these sample programs. For one of the sample programs (#3) listed, I need to find a way to get CKA_ID from a symmetric key and display. Is there any public API to get the CKA_ID from a symmetric key ? I could use the below 2 APIs to get CKA_ID but they are not listed in security/nss/lib/nss/nss.def PK11_FindObjectsFromNickname pk11_GetLowLevelKeyFromHandle Please advise. Thanks, Shailendra

1/18/2010 1:37:23 PM 0 Shailendra N Jain <shailen.n.j...@gmail.com>
How to get CKA_ID from a symmetric key

Hi, I am looking at https://bugzilla.mozilla.org/show_bug.cgi?id=490238 and working on writing these sample programs. For one of the sample programs (#3) listed, I need to find a way to get CKA_ID from a symmetric key and display. Is there any public API to get the CKA_ID from a symmetric key ? I could use the below 2 APIs to get CKA_ID but they are not listed in security/nss/lib/nss/nss.def PK11_FindObjectsFromNickname pk11_GetLowLevelKeyFromHandle Please advise. Thanks, Shailendra

1/18/2010 1:33:29 PM 0 Shailendra N Jain <shailen.n.j...@gmail.com>
Accessing Certificate "Issuer" and "Issued to" in mozilla using JS

Hi, How can i access the "Issuer" and "Issued to" of the selected digital certificate in JavaScript in firefox? For Internet Explorer, CAPICOM provides API to do this but for firefox i'm not able to. I've tried using window.crypto. Example Java Script code: try { result = window.crypto.signText("Something to sign","ask"); if(result == 'error:userCancel' || result == 'error:internalError' || result == 'error:noMatchingCert'){ // alert(" Result="+result+". Staying back. "); return null ; } } catch(ex) { } There's one way. if siging is successfu

1/15/2010 11:45:52 AM 0 Sunny <infinity...@gmail.com>
ECC DER Signing

--000e0cdfd952d2c5a7047d26add4 Content-Type: text/plain; charset=ISO-8859-1 Hi, NSS has ECDSA with SHA1 enabled in SEC_DERSignData() in secsign.c ( http://mxr.mozilla.org/security/source/security/nss/lib/cryptohi/secsign.c), but will ECDSA with SHA256 and higher be supported in the future? Or is this something as simple as adding to the switch statement, since the other EC signature OIDs exist in SECOIDTag ( http://mxr.mozilla.org/security/source/security/nss/lib/util/secoidt.h): SEC_OID_ANSIX962_ECDSA_SHA224_SIGNATURE = 277, SEC_OID_ANSIX962_ECDSA_SHA256_SIGNATURE = 278

1/14/2010 9:36:25 PM 0 Kai Chan <nahc...@gmail.com>
Certificate Extensions

--000e0cdfd95237cfb6047d2275ef Content-Type: text/plain; charset=ISO-8859-1 Hi, I was looking over Tech Note 3 ( http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn3.html) about certificate extensions. Could anyone comment on the new values in SECCertUsageEnum (certUsageUserCertImport, certUsageProtectedObjectSigner, certUsageAnyCA) and how they might affect key usages and cert types. Thanks, Kai --000e0cdfd95237cfb6047d2275ef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>I was looking over Tech Note 3 (<a

1/14/2010 4:34:15 PM 0 Kai Chan <nahc...@gmail.com>
ecm2001 titanium crack torrent rapidshare download free Ye@?%T)<PR

We can crack or emulate any protection type: Dongle, Hardlock, Hasp, Serial, Password, Hasp4, Flexlm, Sentinel, Wibu, Eutron Smartkey, Hasphl, Proteq, All the Protections!! email = yshowsoft@??? email = yshowsoft at gmail.com ecm2001 titanium download ecm2001 titanium rapidshare titanium ecm2001 torrent ecm2001 titanium crack ecm2001 titanium v 5.3 titanium ecm2001 v 5.4 titanium ecm2001 v 5.5 titanium ecm2001 v 6.0 titanium ecm2001 v 6.1 ecm2001 v 6.2 ecm2001 v 6.3 ecm2001 v5.3 ecm2001 v5.4 ecm2001 v5.5 ecm2001 v6.0 ecm2001 v6.1 ecm2001 v6.2 ecm2001 v6.3 I

1/13/2010 9:32:38 PM 0 ecm2001 winols cpwin rapidshare torrent<ecm2001.win...@free-downloads.com>
Memory leak in handshake

--Apple-Mail-48--507180599 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, Attempting to find a memory leak in my application, I wrote a simple = test server to narrow the leak down to the NSS code. It seems that if I = call SSL_ConfigSecureServer() on the client socket rather than the = listener, it leaks memory during every handshake. My socket listener = code accepts client connections natively, then passes the file = descriptors off to my NSS code, which wraps them using SSL_ImportFD() = and SSL_ConfigSecureServer(). =46rom

1/13/2010 8:42:24 PM 0 Mark Manes <markma...@gmail.com>
importing pkcs12 help needed

Hello all, Im very much a newbie to mozilla cryptography but im hoping someone can point me in the right direction, ive spent days trying to figure out what I thought would be really straight forward. I have a pkcs12 file (.p12) and I want to import this into firefox, but I want it to put it into a batch script (so i can move from one pc to another and just run it) From what I gathered, It would be a case of building p12util.exe and using that. im quite literally using the following line to try and import the file pkcs12.exe -i cert.p12 -v -W Pass but I get an error:

1/12/2010 12:07:51 PM 0 trashpants <nash.ban...@sky.com>
Defining custom token objects: CKO_DATA or derive from CKO_VENDOR_DEFINED class?

Hi, I've been debugging openCryptoki for compatibility problems with Mozilla NSS, and I noted that, when creating a certificate using certutil, Mozilla NSS tries to create a token object with CKA_CLASS=0xce534353, which is the 'vendor defined' class CKO_NSS_TRUST, defined as ((CKO_VENDOR_DEFINED|NSSCK_VENDOR_NSS) + 3). This breaks openCryptoki as it is not expecting to be able to create custom objects (via C_CreateObject) using a 'vendor defined' class type (but only CKO_DATA objects apparently). Checking the spec (particularly v2.11 which ock implements), it reads: "

1/8/2010 6:08:38 PM 0 Klaus Heinrich Kiwi <kla...@linux.vnet.ibm.com>
RSA 768 factored

Just-released paper on successfully factoring RSA 768 http://eprint.iacr.org/2010/006.pdf (or http://bit.ly/8xXSgy)

1/7/2010 8:38:45 PM 0 Daniel Veditz <dved...@mozilla.com>
NSS build (pk12utils) with release option problem

Hello everyone, I'd like to use tool called pk12utils (I want to import certificate from console) however when I compile NSS with mozilla-build I always get debug build so when I copy all the program to machine without debug libraries I got an error that system cant open the file. I'm using windows and visual 2008 that's variables with I set with console: set OS_TARGET=WINNT set BUILD_OPT=1 make nss_build_all but I still get debug build. Where is the problem? Am I missing something? Thanks for all answers Gordon

1/6/2010 9:06:43 PM 0 gordon gordon <gorud...@gmail.com>
Apache-SSL.org cert-export ceased to work

https://www.apache-ssl.org/cgi/cert-export Any ideas why? Anders

1/5/2010 12:55:22 PM 0 Anders Rundgren <anders.rundg...@telia.com>
My new role in 2010

Dear readers of dev-tech-crypto (and others BCC'ed): For over 13 years now I've been employed to work full time as a developer of NSS and NSPR, but beginning in January 2010, I shall have a new job where NSS is not part of my job description. Consequently, I will have very much less time per week to devote to NSS and NSPR than I've had at any time in the last decade. I will probably only have a little time on nights and weekends to devote to it. I intend to complete the implementation of the new TLS renegotiation specification, hopefully before the end of January. After that, m

12/23/2009 7:45:22 PM 2 Nelson B Bolyard <nel...@bolyard.me>
SSL handshake using NSS Vs using Openssl

Hi, I am a new user of NSS. I am testing a tool that checks if any weak cipher are supported by the web application server. The tool is based on NSS. The tool reports some ciphers that are supported. It uses SSL_ForceHandshake function to detect if the handshake is possible or not. SSL_ForceHandshake function returns SECSuccess and I can get the certificate later. When cross-checked using Openssl for the same ciphers I get following error: C:\OpenSSL\bin>openssl s_client -host host_name.com -port 443 -ssl3 -cipher EXP-ADH-DES-CBC-SHA Loading 'screen' into random state - don

12/18/2009 2:33:45 PM 9 "Abhishek Rahirikar" <abhishek.rahiri...@gmail.com>
Looks like ECC sign/verify has a bug.

Hello. I have noticed, the following method is used in the ECC sign/verify routines to derive 'e' integer from a digest: ----( begin cite )---- /* In the definition of EC signing, digests are truncated * to the length of n in bits. * (see SEC 1 "Elliptic Curve Digit Signature Algorithm" section 4.1.*/ if (digest->len*8 > ecParams->fieldID.size) { /* u1 = HASH(M') */ mpl_rsh( &u1, &u1, digest->len*8 - ecParams->fieldID.size ); } ----( end cite )---- See the same at cvs blame: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/securit

12/18/2009 12:51:16 PM 2 Konstantin Andreev <andr...@swemel.ru>
Attribute Certificates

--00151743f75473fbcb047adee6c0 Content-Type: text/plain; charset=ISO-8859-1 Hi, Is it possible to generate attribute certificates, as specified in RFC 3281, in NSS? Thanks, Kai --00151743f75473fbcb047adee6c0 Content-Type: text/html; charset=ISO-8859-1 Hi,<br><br>Is it possible to generate attribute certificates, as specified in RFC 3281, in NSS?<br><br>Thanks,<br>Kai<br> --00151743f75473fbcb047adee6c0--

12/16/2009 9:07:54 PM 0 Kai Chan <nahc...@gmail.com>
Re: cert extension: authority key identifier (AKI)

Hi all, I found it here http://www.mozilla.org/projects/security/certs/policy/ thank you very much for all the explanations, especially the one with the "silent upgrade" by Jean-Marc. I still don't understand Mozilla's requirement in case "silent" upgrade is not required (furthermore, prohibited by some other regulations) and if we are careful about the dates of expirations of the CA's and end's certificates. Why is it "incorrect extension" or almost always a "huge mistake"? (authority key IDs that include both the key ID and the issuer's issuer name and serial number)". I think t

12/16/2009 2:12:51 PM 0 Daniel Joscak <daniel.jos...@gmail.com>
Should I use SECITEM_AllocItem or PORT_Arena{,Z}Alloc memory allocation ?

Hello. I see NSS code uses SECITEM_AllocItem() and PORT_Arena{,Z}Alloc() memory allocation routines almost interchangeably. I see that SECITEM_AllocItem(), basically, just wraps PORT_ArenaZAlloc() into the "arena mark" brackets: mark = PORT_ArenaMark( arena ); PORT_ArenaZAlloc( arena, ... ) PORT_ArenaUnmark(arena, mark) or PORT_ArenaRelease(arena, mark); The "arena mark" brackets are not documented anywhere, thereby I can't decide, which routine, SECITEM_AllocItem or PORT_Arena{,Z}Alloc, is best for me. Could you, please, advice, which allocation routine (SECITEM_A

12/16/2009 11:01:23 AM 5 Konstantin Andreev <andr...@swemel.ru>
heads up for compilation of JSS using mozilla-build (MSYS) on Win32

I just ran into this error and was about to post saying wtf but figured out my issue and am posting this in case someone else runs into the same problem. If the JAVA_HOME isn't set properly, something in the build process might eat a slash and the jss4.dll can't be built. This happened a little ways into running (g)make: <snip> cd jss; make libs make[3]: Entering directory `/c/Users/dstutzman/mozilla-build/nss-3.12.4-with-nspr-4.8/mozilla/security/jss/org/mozilla/jss' cl -FoWINNT6.0_OPT.OBJ/CryptoManager.obj -c -O2 -W3 -nologo -D_CRT_SECURE_NO_WARNINGS -MD -we4002 -we4003 -

12/15/2009 3:04:40 PM 1 David Stutzman <dstutz.m...@nospam.dstutz.com>
Does softoken/(NS)C_Sign conform PKCS#11?

Hello. I have noticed that softoken's C_Sign() (and C_SignFinal too) terminates signing operation if called with too small output buffer [http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/softoken/pkcs11c.c&rev=1.111&mark=2277-2280,2292-2296#2260]. This seems to be incompatible with PKCS#11 since version >= 2 (15 Apr 1997). Here is a cite from C_Sign definition: -- A call to C_Sign always terminates the active signing operation unless it returns CKR_BUFFER_TOO_SMALL or is a successful call (i.e., one which returns CKR_OK) to determine the length of the buffer nee

12/14/2009 3:19:09 PM 1 Konstantin Andreev <andr...@swemel.ru>
NSS 3.12.5 release notes

I am pleased to announce that the NSS 3.12.5 release notes are available at https://developer.mozilla.org/NSS_3.12.5_release_notes . NSS 3.12.5 requires NSS 4.8 or above. We tested NSS 3.12.5 with NSPR 4.8.2. You can find NSPR 4.8.2 release notes at http://www.mozilla.org/projects/nspr/release-notes/nspr482.html . Christophe Ravel.

12/10/2009 7:23:26 PM 0 Christophe Ravel <christophe.ravel.b...@sun.com>
how is it possible to choose a cipher for SMIME ?

Hi everyone ! I noticed the 3DES cipher is used to encrypt emails with S/MIME and I would like to use another one. This is a comment I've seen in secmime.c : /* * XXX Should have a #define somewhere which specifies default * strong cipher. (Or better, a way to configure, which would * take Fortezza into account as well.) */ /* If the user has the Fortezza preference turned on, make * that the strong cipher. Otherwise, use triple-DES. */ Is the only way to choose a cipher is to hack into the code ? For the moment, I've changed the references

12/10/2009 10:12:28 AM 0 Gregory BELLIER <gregory.bell...@gmail.com>
Question about NSS initialization for using SHA_256 in my library

--_000_EA4A6093842E4B46B5ACA97901DCFE1A02F346FB3Apdsmsx502ccrc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am planning to use the HASH_HashBuf (HASH_AlgSHA256...) in my own library= for SHA256 computing. Currently I encountered an initialization issue. Cou= ld someone kindly give me some suggestions? Thanks in advance! There is code like below: inited_by_myself =3D false; if (NSS_IsInitialized()) { NSS_NoDB_Init (""); inited_by_myself =3D true; } HASH_HashBuf(); if (inited_by_myself) { NSS_Shutdown();

12/10/2009 1:37:03 AM 2 "Lv, Zhiyuan" <zhiyuan....@intel.com>
smart card with multiple PIN codes

Dear All, I would like to ask you help in the following problem. Assume we have a smart card with two keypairs and two corresponding certificates. One keypair is used for electronic signatures, the other is used for SSL authentication. The card has two PIN codes, PIN1 protects the key used for signing, and PIN2 protects the key for SSL authentication. If I want to sign a document, I need to provide PIN1 (which is '123456'). If I want to access a protected website, I need to provide PIN2 (which is '12345'). This means that if I need to access a protected resource, I provide PIN2 t

12/9/2009 3:48:42 PM 1 =?ISO-8859-1?Q?Istv=E1n_Zsolt_BERTA?= <istvan.be...@microsec.hu>
S/MIME with SHA-256

HI! Are Outlook and Outlook Express currently capable of verifying S/MIME signed e-mails where SHA-256 is used as hash algorithm? Ciao, Michael.

12/7/2009 3:30:49 PM 4 =?ISO-8859-1?Q?Michael_Str=F6der?= <mich...@stroeder.com>
S/MIME

HI! Are the Mozilla-based MUAs Thunderbird and Seamonkey currently capable of verifying S/MIME signed e-mails where SHA-256 is used as hash? Ciao, Michael.

12/7/2009 3:28:13 PM 0 =?ISO-8859-1?Q?Michael_Str=F6der?= <mich...@stroeder.com>
Informally announcing NSS 3.12.5

NSS version 3.12.5 has been released in source code form from the master upstream CVS repository with the CVS NSS_3_12_5_RTM. Sun made NSS 3.12.5 publicly available as a binary patch for some platforms. See http://sunsolve.sun.com/search/document.do?assetkey=1-66-273350-1 The main reason this release was made at this time was to make available immediate relief for bug 526689, the recently discovered SSL/TLS renegotiation vulnerability. See https://bugzilla.mozilla.org/show_bug.cgi?id=526689 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3555 The relief consists of dis

12/7/2009 9:22:49 AM 0 Nelson B Bolyard <nel...@bolyard.me>
Firefox Certificate window

--00504502ad2086670b0479ecc9ee Content-Type: text/plain; charset=ISO-8859-1 Firefox Certificate window On 24 ????, 17:49, Stefan Jordanov <stefanste...@gmail.com> wrote: > > As as say Firefix certificate window I mean Firefox certificate > > viewer. > > > > Best regards, > > > > Stefan Jordanov > > > > On 24 ????, 17:45, Stefan Jordanov <stefanste...@gmail.com> wrote: > > > > > Hello everybody, > > > > > I am wondering how can I show a X509Certificate with javascript or > > > something like that in the Firefox certificate window? > > > > > Is this possible with window.cry

12/4/2009 8:16:47 PM 4 Peter Djalaliev <peter.djalal...@gmail.com>
Building ECC-enabled NSS RHEL5 src-rpm

--00151750de047fef580479d8c4fa Content-Type: text/plain; charset=ISO-8859-1 I downloaded "nss-3.12.3.99.3-1.el5_3.2.src.rpm" from redhat.com and am trying to build an ECC-enabled RHEL5 rpm with a modified spec file. I uncomment in "/usr/src/redhat/SPEC/nss.spec: NSS_ENABLE_ECC=1 export NSS_ENABLE_ECC just before "# first, build freebl and softokn shared libraries" on line 207. I noticed that it is not commented out along with "NSS_MORE_THAN_SUITE_B" after "# Allow pluggable ECC" at line line 230. cd /usr/src/redhat/SOURCES rpmbuild -bb ../SPECS/nss.spec When build

12/3/2009 8:23:43 PM 0 Kai Chan <nahc...@gmail.com>
Question about memcpy in operation mode for NSS

This is a multi-part message in MIME format. --------------040904060702050000080200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello ML, First of all, I'm not a crypto expert, that's why I ask this question which may appear obvious for some of you. I work on NSS and I've studied the CBC operation mode implementation for Camellia and SEED ciphers. I do understand how the CBC works but I don't understand why there is a need to do a memcpy just before exiting the function. _Examples :_ - For Camellia at the end of camellia_en

12/2/2009 2:47:13 PM 0 Gregory BELLIER <gregory.bell...@gmail.com>
Where to compile ECC support conditionally (NSS_ENABLE_ECC) ?

Hello. Almost everywhere across NSS the ECC-specific executable code is compiled conditionally: #ifndef NSS_ENABLE_ECC /* ECC-specific executable code ... */ #endif .... but not everywhere. For example, seckey_ExtractPublicKey() @ cryptohi/seckey.c http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/cryptohi/seckey.c&rev=1.51&mark=1695-1702,1125-1138#1105 SECKEY_CopyPublicKey() @ cryptohi/seckey.c http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/cryptohi/seckey.c&rev=1.51&mark=1695-1702,1125-1138#1687 PK11_Imp

12/2/2009 2:46:12 PM 0 Konstantin Andreev <andr...@swemel.ru>
negotiation question

I'm considering how to handle SSL re-negotiation in the Apache NSS provider mod_nss to handle the SSL client-initiated handshake bug. NSS provides a callback, SSL_HandshakeCallback(), which according to the docs is called when an SSL handshake has completed. So let's say I have the following: SECStatus FailureHandshakeCallback(PRFileDesc * socket, void *arg) { return SECFailure; } SECStatus InitialHandshakeCallback(PRFileDesc * socket, void *arg) { return SSL_HandshakeCallback(socket, (SSLHandshakeCallback) FailureHandshakeCallback, NULL) } When I create a

11/30/2009 6:50:26 PM 10 Rob Crittenden <rcrit...@redhat.com>
How to sign generateCRMFRequest() with PHP and/or OpenSSL?

Hello, My goal is to get user signed into my site with a client login certificate. Some sites like OpenID or cacert.org do it, so it must be possible :) First I tried to generate the client certificate at the server side (generate CSR, sign CSR, export into x509, pack keys and certificate into PKCS12, send that file to the user) and it works. However I feel this is not the right way to do it. The sites I've mentioned generate the certificate on the client's machine with that JavaScript function: generateCRMFRequest() then send the CSR to the server and the server processess it in som

11/30/2009 8:41:03 AM 3 ivanatora <ivanat...@gmail.com>
Extracting (only) certificates

Hi, My cert8.db in Thunderbird seems to be broken: There is one certificate that is simply not accepted but after deleting cert8.db and recreating it works. But there is one problem: I loose all of my certificates. My personal ones are not the problem, I exported them to a p12 file and re-imported them. But the problem are the certificates from *other* people (I have ca. 50 of them) and of websites. I played around with pk12util but it seems that the utility can only export *personal* certificates (i.e. with private key). Is there a way to export all my certificates

11/26/2009 3:37:01 PM 2 Lukas Haase <lukasha...@gmx.at>
Firefox Certificate window

Hello everybody, I am wondering how can I show a X509Certificate with javascript or something like that in the Firefox certificate window? Is this possible with window.crypto? Thank you in advance. Best regards, Stefan Jordanov

11/24/2009 3:45:00 PM 4 Stefan Jordanov <stefanste...@gmail.com>
question regarding PK11_FindFixedKey() in pk11skey.c

Dear newsgroup, Could you please give me a hand? I've got a problem understanding the relationship between physical/logical reader, slot, token, and PK11SlotInfo, NSSToken, PKCS11-Object, Symkeys, Secret keys, fixed keys, in NSS's PKCS11 implementation. Please just put a "true" or "false" after my lines, if you think my list of question's too long: If I remember well, the PKCS11 specs tell that there's exactly 1 crypto-object per token (soft or hardware). This object can have several attributes, and can be a symetric key for different cryptography algorithms (mechanisms)lik

11/23/2009 9:50:45 PM 16 Marc Kaeser <marc.kae...@gmail.com>
Building NSS for OpenCSW (Solaris)

Hello dev-tech-crypto, I'm working on a Solaris NSS package for the OpenCSW[1] project. I'm compiling it using Sun Studio 11, on standard OpenCSW buildfarm. I'm using the standard OpenCSW build system, GAR. The source code of the build file I'm writing is similar to BSD ports, and can be found in a source code repository[2] together with patches I wrote[3]. I'm currently stuck at the problem of aborting shlibsign: gmake[5]: Leaving directory `/home/maciej/src/opencsw/pkg/nss/trunk/work/build-isa-sparcv8/nss-3.12.4-with-nspr-4.8/mozilla/security/nss/cmd/shlibsign/mangle' cd Su

11/22/2009 12:44:16 PM 0 =?UTF-8?Q?Maciej_Blizi=C5=84ski?= <maciej.blizin...@gmail.com>
Is there a way add certificate with "Builtin Object Token"?

Hi I need add my certificate into certdb with token "Builtin Object Token" I thought it is impossible but there have to exist some way because if I remove one of root certificates it is restored after firefox restart. But I can not find source code where this happen. Could anyone help my? Maybe just point on part of code where firefox restores certificates on start up. thanks.

11/20/2009 8:24:53 AM 1 serval <stanislav.alexo...@gmail.com>
NSS: Certificate mangement without certdb

--00151743f7545144370478beb9ba Content-Type: text/plain; charset=ISO-8859-1 Hi, Is there a way to do certificate operations in NSS without using the cert8.db? I was looking at a post at mail-archive.com ( http://www.mail-archive.com/dev-tech-crypto@lists.mozilla.org/msg00245.html) that suggested all this would now be internal to the PKCS #11 module, removing dependence on cert8.db. Does that mean I can use the certdb library to handle certificate operations? Thanks, Kai --00151743f7545144370478beb9ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding:

11/19/2009 7:54:15 PM 0 Kai Chan <nahc...@gmail.com>
NIST ECC curves in NSS

--00151747afcc266fa10478bd5fc1 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm using NSS 3.12.4 with NSPR 4.8 release. I want to generate keys and certs with the basic supported ECC curves (nistp256, nistp384, nistp521) included when NSS is compiled with the "NSS_ENABLE_ECC" flag. However, when I try using certutil to generate certificates using the basic NIST curves, I keep receiving the "security library failure" error. Is there something in NSS that has to be patched or a step during configuration that I missed? Could someone please verify the steps performed below are

11/19/2009 6:17:27 PM 0 Kai Chan <nahc...@gmail.com>
cert extension: authority key identifier (AKI)

I would like to ask for an explanation of mozilla trust cert. store requirement for adding CA. Why correct authority key identifier (AKI) can not include both the key ID and the issuer's issuer name and serial number. We have an authority that adds to its certificates such AKI and till now I thought it is a valid X. 509 certificate according to RFC 5280. regards, Daniel

11/19/2009 4:24:17 PM 11 Daniel Joscak <daniel.jos...@gmail.com>
NSS 3.12.4 for iPhone OS 3.1.2

I've been Googling around a bit and haven't come across very much, so I was wondering two things: Does anyone have a link to a helpful resource on building NSS for the iPhone, build host being a Mac, of course? If not, is there possibly a good bootcamp/crash course in the Mozilla/ NSS/NSPR build toolchain that I could use to customize the build process for the iPhone? Apologies for duplicate posting, and much thanks, in advance.

11/19/2009 3:56:16 AM 0 ozRaven <ozra...@gmail.com>
slow DB access with lots (6000+) of certs/keys

I've recently had a case where I have a DB with around 6700 certs/keys in it and a call to get the list of certs takes something like 20 minutes to complete. I'm primarily using JSS (specifically the call to CryptoToken.getCryptoStore().getCertificates()), but the same happens with certutil on the command line. I've switched from using the old DBM format to SQLite and it doesn't appear to have changed the behavior much, if at all. I'm currently using NSS 3.12.4 (BUILD_OPT=1, NSS_ENABLE_ECC=1, built on Vista 32bit using mozilla-build). Is there anything I can do to speed thi

11/18/2009 1:43:12 PM 5 David Stutzman <dstutz.m...@nospam.dstutz.com>
ecm2001 titanium crack torrent rapidshare download free EIbwKs@NGu

We can crack or emulate any protection type: Dongle, Hardlock, Hasp, Serial, Password, Hasp4, Flexlm, Sentinel, Wibu, Eutron Smartkey, Hasphl, Proteq, All the Protections!! email = yshowsoft@??? email = yshowsoft at gmail.com ecm2001 titanium download ecm2001 titanium rapidshare titanium ecm2001 torrent ecm2001 titanium crack ecm2001 titanium v 5.3 titanium ecm2001 v 5.4 titanium ecm2001 v 5.5 titanium ecm2001 v 6.0 titanium ecm2001 v 6.1 ecm2001 v 6.2 ecm2001 v 6.3 ecm2001 v5.3 ecm2001 v5.4 ecm2001 v5.5 ecm2001 v6.0 ecm2001 v6.1 ecm2001 v6.2 ecm2001 v6.3 I

11/15/2009 9:52:26 PM 0 ecm2001 winols cpwin rapidshare torrent<ecm2001.win...@free-downloads.com>
Elliptic Curves in NSS

--00032555a89a7d8d170478096b6b Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm using NSS 3.12.4 with NSPR 4.8 release on Fedora 10. I want to generate keys and certs with the basic supported ECC curves (nistp256, nistp384, nistp521) included when NSS is compiled with the "NSS_ENABLE_ECC" flag. I would greatly appreciate it if one could point out anything missing or incorrect in the provided steps below as I keep receiving this error: tar -xvf nss-3.12.4-with-nspr-4.8.tar. gz NSS_ENABLE_ECC=1; export NSS_ENABLE_ECC cd nss-3.12.4-with-nspr-4.8/mozilla/security/nss make n

11/10/2009 7:36:00 PM 0 Kai Chan <nahc...@gmail.com>
Is there any way to install my PKCS11 library for firefox globally, instead of only for current profile/user?

I have a pkcs11 library. Is there any way to install it globally for firefox, instead of only for current profile/user? Thanks a lot. Anthony

11/9/2009 9:51:25 PM 6 andro <anthonyha...@gmail.com>
Re: Certificate usage guide

This is an S/MIME signed message generated with Gmail S/MIME. --gmsm0.4.3eqg1nvhxy6okeztgdj4v2 Content-Type: text/plain; format=flowed Let's see. Difficulties: Everything. Management of expired certificates, both your own and others'. Management of revoked certificates, both your own and others'. Management of keys. Management of certificate requests. Management of multiple certificates with differing Subjects, on a browser you use for multiple purposes. Servers: I've yet to see any way to rekey or even recertify an Apache httpd process without requiring a shutdown/restart (

11/5/2009 6:50:30 PM 0 aerow...@gmail.com
CERT_PKIXVerifyCert ocsp leaf test fails using OCSP in a particular scenario

Hi, I have the following setup: - a certificate chain of 3 -the end certificate refers to revocation information using AIA and OCSP, the "responder" is the issuer. -the intermediate certificate uses also AIA and OCSP and the "responder" is the root certificate. -the end and intermediate certificates are revoked. -"openssl ocsp" is used as responder. The end certificate is checked using vfychain.exe (nss 3.12.4) using this command line: ../vfychain.exe -d d:/vfydb -pp -u 0 -g leaf -m ocsp -g chain -m ocsp user_2_intermediate_2.crt If both responder do not run, then vfych

11/5/2009 12:54:45 PM 0 Joachim Lingner <Joachim.Ling...@Sun.COM>
SSH 2.0 Keys and NSS in FIPS mode

I have an application that includes an implementation of SSH in Java. It currently uses the Sun JCE and I'm trying to make use of the SunPKCS11 provider which wraps calls to NSS (3.12.4) to take advantage of NSS's FIPS compliance. (We won't be shipping this until after 3.12.4 has completed the process.) I'm stuck at the point where the SSH key exchange creates the first session key and attempts to encrypt with it. After a couple days of digging I found the following seems to prevent me from using any key that wasn't randomly generated by NSS. in fipstokn.c: /* FIPS can't c

11/3/2009 4:09:38 AM 1 Bob Foss <bob.e.f...@gmail.com>
Basic ECC in NSS 3.12.4 with NSPR 4.8

--0003255553ae10d5880477656f0f Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm using NSS 3.12.4 with NSPR 4.8 release from the Mozilla FTP site on Fedora 10. I'm interested in generating keys and certs with the basic NIST curves (nistp256, nistp384, nistp521) included in the softoken implementation when NSS is compiled with the "NSS_ENABLE_ECC" flag. I would greatly appreciate it if one could point out anything missing or incorrect in the provided steps below: tar -xvf nss-3.12.4-with-nspr-4.8.tar. gz NSS_ENABLE_ECC=1; export NSS_ENABLE_ECC cd nss-3.12.4-with-nspr-4.8/

11/2/2009 3:57:25 PM 0 Kai Chan <nahc...@gmail.com>
CRL revocation check implementation

Hi , I am writing a client which connects to a secure server. I need to verify the certificate obatined from the server for CRL Revocation. Could some one please tell which NSS api's are available. These are the steps i am following currently I extracted the CRL url from distribution points and then downloaded the CRL. After reading the downloaded CRL file , i tried CERT_CacheCRL() but it gives SEC_ERROR_BAD_DER everytime. Also PK11_ImportCRL() only imports the CRL which are binary and not the one those begin with ".....Begin CERTIFICATE" Could some one please tell me if i

10/30/2009 9:18:33 PM 1 mAhAjAn <cool.ra...@gmail.com>
Compile NSS for Mac OS X...

Hello, I have successfully compiled nss-3.12 for Mac OS X 10.5.x using the "nss_build_all" command. I however do not see a reference in the "Build_instructions" on what to do after running "nss_build_all" as completed. I found the "certutil" binary but when I try to run it I get the following error... /Users/local/Desktop/nss-3.12/mozilla/security/nss/cmd/certutil/ Darwin9.7.0_DBG.OBJ/certutil dyld: Library not loaded: @executable_path/libssl3.dylib Referenced from: /Users/local/Desktop/nss-3.12/mozilla/security/nss/ cmd/certutil/Darwin9.7.0_DBG.OBJ/certutil Reason: image n

10/30/2009 6:36:03 PM 5 Skellington <ceh...@gmail.com>
SunPKCS11 and NSS 3.11.4

Initializing SunPKCS11 for utilization of NSS 3.11.4 capabilities yields the following exception: java.security.ProviderException: Could not initialize NSS at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:183) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:90) at test.TripleDESTest.main(TripleDESTest.java:112) Caused by: java.io.IOException: The specified version of NSS is incompatible, 3.7 or later required at sun.security.pkcs11.Secmod.initialize(Secmod.java:190) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:179) ... 2 more The version I am using i

10/30/2009 12:43:08 AM 13 "morris.d...@gmail.com" <morris.d...@gmail.com>
reopen bug 374247 - disable slots/modules

--_000_C01CFC5C687C3343B69CB287A9761DA72CD46308C8muc1exch02eme_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, this is in reference to Message ID -OCdnSshJOQ9pnrXnZ2dnUVZ_t6dnZ2d@mozill= a.org<mailto:-OCdnSshJOQ9pnrXnZ2dnUVZ_t6dnZ2d@mozilla.org> on mozilla.dev.t= ech.crypto. We have issues to disable a whole adapter or just a single slot using modut= il and a SafeNet ProtectServer HSM. Also the default soft tokens of NSS its= elf can not be disabled. The target platform is RedHat Enterprise Server 5.4. NSS is at version 3.12=

10/28/2009 10:08:06 PM 0 "Kroehnert, Andreas" <andreas.kroehn...@de.safenet-inc.com>
Details of saving pkcs#11 attribs to the default {cert8,key3} database.

Hello. It looks somewhat strange how default (so-called legacydb) database allows upper layer (softoken) to manipulate key's attributes. [ http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/softoken/legacydb/lgattr.c&rev=1.9&mark=1630-1641#1601 ] ---- lg_SetPrivateKeyAttribute() @ lib/softoken/legacydb/lgattr.c ---- ......... case CKA_VALUE: case CKA_PRIVATE_EXPONENT: case CKA_PRIME_1: case CKA_PRIME_2: case CKA_EXPONENT_1: case CKA_EXPONENT_2: case CKA_COEFFICIENT: /* We aren't really changing these values, we are just tr

10/28/2009 9:25:50 AM 3 Konstantin Andreev <andr...@swemel.ru>
disabling slot with modutil

Hello, we're currently doing an implementation of NSS and one of our HSM's for a customer. So far this works perfectly fine. However the problem arrises if we try to disable the whole module or a particular slot using "modutil -disable...". Short story, it seems to have no effect. Long story, looking at the code PK11_UserDisableSlot seems to do what is expected to do. Also debugging on the low-level shows that secmod.db gets modified in order to reflect the change. But any consecutive "modutil -list..." is still displaying the slot as enabled. We also tried to modify the

10/27/2009 6:27:36 PM 2 Andreas Kroehnert <akroehn...@safenet-inc.com>
How to build nspr+nss on Windows with VS 2008 (VC++ 9.0)

VC++ 9.0 now requires either a manifest or Side-by-Side assembly (the vc redist package) in order for .dlls and .exes to find the VC runtime DLL. http://support.microsoft.com/default.aspx/kb/326922 I would like to build nspr and nss such that I can run tools like certutil.exe without having to have the user install the VC redist package. Is this possible with VC++ 9.0? Looking at https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites under Common Problems, Hints and Restrictions it says If you intend to distribute your build to others, and

10/27/2009 5:23:53 PM 4 Rich Megginson <ri...@stanfordalumni.org>
Default {cert8,key3} db internals: lg_GetPublicKey()->nsslowkey_ConvertToPublicKey()

Hello. AFAIK, default (so-called legacydb) database manages private keys storage as follows: -- crypto-keys stored in dbm file "key3.db" -- every (dbm_key,dbm_value) pair in "key3.db" is a pair of cryptographic public/private keys: ( public key, encrypted PKCS#8 PrivateKeyInfo ) Given that, I am curious, why this code exists: ---- lg_GetPublicKey @ softoken/legacydb/lgattr.c ---- static NSSLOWKEYPublicKey * lg_GetPublicKey(LGObjectCache *obj) { NSSLOWKEYPublicKey *pubKey; NSSLOWKEYPrivateKey *privKey; ........ privKey = lg_FindKeyByPublicKey( o

10/26/2009 4:53:17 PM 6 Konstantin Andreev <andr...@swemel.ru>
NSS non-blocking mode and long computations

Hi, I'm using NSS in non-blocking mode. To perform a handshake on a SSL socket, I use SSL_ForceHandshake (if it returns PR_WOULD_BLOCK_ERROR I retry when the SSL socket becomes readable). It works, but I've noticed that SSL_ForceHandshake sometimes takes a long time to return (around 100 ms). I suppose this is because of all the computations involved. As my program is single-threaded (built on a reactor), it cannot respond to anything else while in a long SSL_ForceHandshake call, which causes latency problems with other I/O my program does. Is possible to forbid SSL_ForceHandshake fro

10/22/2009 12:50:44 PM 6 Ambroz Bizjak <ambr...@gmail.com>
Encrypt(), Decrypt() and ChangePassword() pkcs11-modification in nsSDR.cpp

Hello, I've got the following problem: I need nsSDR.cpp to use another pkcs11 module instead of the built in software one, in order to store the encryption keys on another crypto-token than the built in software one. in nsSDR.cpp, the 3 functions Encrypt(), Decrypt() and ChangePassword() use PK11SlotInfo * PK11_GetInternalModule(); I'd like to modify those 3 functions so they use another module. I've tried to use PK11SlotInfo * PK11_FindSlotByName (const char *name), but I don't really know how to tell nsSDR to use the right module, slot and after that the right token. Doe

10/21/2009 7:30:12 PM 9 "Marc Kaeser" <marc.kae...@gmail.com>
smime mail notification

hi all, I want to listen for smime formated messages at TB. Is there any notification about it?

10/21/2009 6:55:45 AM 1 "m�r�it orhan" <mursitor...@hotmail.com>
Error 126 : NSS_Initialize Failed While adding certificate using certutil

Hi there, Just to give you a brief about. The objective is to build latest NSS/ NSPR/c-SDK so that "certutil" command can be used to create cert8.db file to add certificate into that. I built the following modules using MozillaBuild 1.4 on Windows platform. 1.Drectory - c-sdk - mozldap-6.0.6 Link: ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.6/src/mozldap-6.0.6.tar.gz 2. NSS-3.12 With NSPR-4.7 Link: ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_RTM/src/nss-3.12-with-nspr-4.7.tar.gz I was able to build complete code base (i.e. NS

10/21/2009 4:11:00 AM 1 ashwani saxena <ashwani.sax...@gmail.com>
Error 126 : NSS_Initialize Failed While adding certificate using certutil

Hi there, Just to give you a brief about. The objective is to build latest NSS/ NSPR/c-SDK so that "certutil" command can be used to create cert8.db file to add certificate into that. I built the following modules using MozillaBuild 1.4 on Windows platform. 1.Drectory - c-sdk - mozldap-6.0.6 Link: ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.6/src/mozldap-6.0.6.tar.gz 2. NSS-3.12 With NSPR-4.7 Link: ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_RTM/src/nss-3.12-with-nspr-4.7.tar.gz I was able to build complete code base (i.e. NS

10/21/2009 4:10:20 AM 0 ashwani saxena <ashwani.sax...@gmail.com>
What if i cross compile without NSS/NSPR

I have been able to cross compile NSS/NSPR and ecrypt-utils, but the cross build system does not recognize NSS/NSPR as providing any binaries. This might be due to them using a funky nsinstall program instead of the linux install program - I don't know. Bottom line, it won't install ecrypt-utils due to missing dependencies. Anyhow, i notice the ecryptfs-utils configure file appears to allow me to build without nss support. my question is what am i losing if I don't use NSS/NSPR? Is there an alternative to the NSS/NSPR?

10/20/2009 1:55:01 PM 1 CB <cn...@verizon.net>
Firefox PKCS#12 export of personal certs versus OpenSSL

--00504502d33528f4030476390fbf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi I'm wondering if anyone could enlighten me on why the PKCS#12 exported certificate from Firefox under Ubuntu isn't identical to the certificate that I can generate from OpenSSL like this: $ openssl pkcs12 -in yourCertificate.p12 -out yourCertificate.pem $ openssl pkcs12 -export -in yourCertificate.pem -out youCertificateFixed.p12 Does the NSS implementation of ASN.1 differ from OpenSSL implementation, or why wouldn't the results be identical? The reason is

10/18/2009 5:35:46 PM 1 =?UTF-8?Q?Claus_J=C3=B8rgensen?= <cl...@clausjoergensen.dk>
How important is shlibsign?

I'm cross compiling nss to PPC, and during the install phase, the make runs a shlibsign utility. At first, it couldn't run because it had been built for the target hardware. So, i found a shlibsign on the host computer, and tried to use that, but get a message; ".../libssl3.so: ELF file data encoding not little-endian" So, I can't use the cross compiled version, and I can't use the host version. What's gonna happen if I just short circuit the sign.sh script and don't do it? What problems is that going to cause at run time on the target?

10/16/2009 6:16:34 PM 3 CB <cn...@verizon.net>
need help cross compiling nss

I'm using WindRiver Linux 2.0 to cross compile nss to a PowerPC. The 3.11.4 build instructions and troubleshooting don't cover something like this. Can someone point me to documentation that would describe how to set the compiler, flags, install location, etc...?

10/14/2009 9:46:03 PM 3 CB <cn...@verizon.net>
Does any free email CA offer certs with multiple email addresses?

You probably know by now that Thawte has announced an end to its free email certificate service. http://www.h-online.com/security/Thawte-discontinues-Web-of-Trust-for-free-SSL-certificates--/news/114447 https://siteseal.thawte.com/support/index.html?page=content&id=SO12658 This has caused many people to start looking around for a substitute. Today, I received this email from a colleague about this subject. > I found http://kb.mozillazine.org/Getting_an_SMIME_certificate > > I couldn't find any trusted-by-NSS CA that offers multiple email > addresses in a single cert (subje

10/14/2009 7:18:37 PM 0 Nelson B Bolyard <nel...@bolyard.me>
Making OCSP soft fail smarter

Firefox uses OCSP but, by default, any response other than a definite "is revoked" response is treated as "is not revoked". There is a user pref that allows the user to change that, so that any response other than "is not revoked" is treated as "is revoked". IMO, we need to be smarter about that. Here's a straw man: OK: 200 response with OK No response (network problems) Not OK: 200 response with revocation 400 response (OCSP responder actively denying response) 500 response (OCSP responder broken) What do people think? Putting 400 and 500 in "not OK" makes it harder to

10/13/2009 1:54:01 PM 5 Gervase Markham <g...@mozilla.org>
SEC_ERROR_EXTENSION_NOT_FOUND

Hello, We are getting this error from a library. I have been told the module is configured trust all certs. Can someone shed some light on libssl, libnss stack trace and the error? Thanks SN

10/13/2009 10:26:25 AM 1 star_ni...@my-deja.com
How to "log out" of SDR?

This is probably PSM again, but I hope someone here can answer it, or point me somewhere. We have a both menuitem and a dialog that logs you out of the SDR, so that you need to reenter your Master Password to gain access to your stored certificates and other encrypted material, such as the login manager's password store. This works fine when you actually have a Master Password. However when you do not have a Master Password then it does not seem possible to log in again. Is this a case of: a) sdr.logoutAndTeardown(); is the wrong API to log out b) we're using the wrong A

10/13/2009 9:10:53 AM 0 Neil <n...@parkwaycc.co.uk>
is there any way to connect without CA?

Hi, is there any way to overwrite the default behaviour that a remote SSL ho= st = is verified against the CA list in the certdb? thanks, G=C3=BCnter.

10/7/2009 11:00:01 PM 7 Guenter <tha...@4.spam>
Decoding DER: can I save tag-length prefixes in decoded items?

Hello. One more question about decoding DER structures. Some PKCS#11 mechanisms (namely, CKM_GOSTR3410 ) accept DER-encoded parameters, which include DER tag-length prefix. I dissect these parameters from some wrapping DER structure by SEC_QuickDERDecodeItem. Unfortunately, I could not find an option to ask decoder to put tag-length prefix together with item. To handle this, I adjust decoded SECItems after decoding: SECItem t; t.len += 2; t.data -= 2; This works for now, because parameters are OIDS which fits in a 128-byte limit. But this is unsafe. Please, adv

10/6/2009 10:04:19 AM 6 Konstantin Andreev <andr...@swemel.ru>
How should I handle CKA_NETSCAPE_DB for GOST private keys ?

Hello. In the source code of the "softoken" library I see various conditional manipulations with CKA_NETSCAPE_DB attribute of private keys. Since I am adding a new (GOST) type of private key to NSS, I need to know how CKA_NETSCAPE_DB should apply to this key. But I haven't found enough information about the intended use of CKA_NETSCAPE_DB in neither MDC nor bugzilla. Could you, please, advice, how should I handle CKA_NETSCAPE_DB for GOST private keys ? Best regards, -- Konstantin Andreev, software engineer. Swemel JSC

10/5/2009 4:27:07 PM 5 Konstantin Andreev <andr...@swemel.ru>
Which way to decode DER ASN1 CHOICE ?

Hello. I need to decode some DER-encoded ASN1 CHOICE, but I can't manage this in a reasonable way. This is how I have managed this at the moment (pseudo-code): ---( begin code )--------- struct { SECItem choice1; SECItem choice2; ... SECItem choiceN; } decodedChoice; SEC_ASN1Template choiceTemplate[] = { { SEC_ASN1_CHOICE }, { SEC_ASN1_INTEGER, offsetof( decodedChoice, choice1 ) }, { SEC_ASN1_NULL, offsetof( decodedChoice, choice2 ) }, ... { SEC_ASN1_BOOLEAN, offsetof( decodedChoice, choiceN ) },

10/5/2009 9:20:59 AM 3 Konstantin Andreev <andr...@swemel.ru>
ecm2001 titanium crack torrent rapidshare download free Fosy=fKClF

We can crack or emulate any protection type: Dongle, Hardlock, Hasp, Serial, Password, Hasp4, Flexlm, Sentinel, Wibu, Eutron Smartkey, Hasphl, Proteq, All the Protections!! email = xshowsoft@??? email = xshowsoft at gmail.com ecm2001 download ecm2001 rapidshare ecm2001 torrent ecm2001 crack ecm2001 v 5.3 ecm2001 v 5.4 ecm2001 v 5.5 ecm2001 v 6.0 ecm2001 v 6.1 ecm2001 v 6.2 ecm2001 v 6.3 ecm2001 v5.3 ecm2001 v5.4 ecm2001 v5.5 ecm2001 v6.0 ecm2001 v6.1 ecm2001 v6.2 ecm2001 v6.3 If you have some protected program, and want to crack it, we can help you! Ecm2

10/4/2009 8:34:21 PM 0 ecm2001 winols cpwin rapidshare torrent<ecm2001.win...@free-downloads.com>
How to display the cause of an SSL client authentication failure

Hi all, I've enabled client authentication in Sun One Web Server 6.1 and it does work fine when the client certificate is valid. I would like to present the user with a good error message instead of the generic one when his certificate is not valid. In this case, the user has currently no clue of what happened, wether his certificate has expired, is revoked, is false (bad signature), was provided by a not trusted certificate authority, and so on. This is very frustrating for non tec users as they don't know what to do. Is there a trick to display client certificate authenticatio

10/3/2009 10:52:40 PM 0 "Jereme Bulzor" <jbul...@yahoo.com>
NSS 3.12.4 and FIPS certification

I see that NSS 3.12.4 is in the process of being certified as FIPS 140-2 compliant. Historically speaking can anyone estimate how long this process takes? Thanks. -- View this message in context: http://www.nabble.com/NSS-3.12.4-and-FIPS-certification-tp25721097p25721097.html Sent from the Mozilla - Cryptography mailing list archive at Nabble.com.

10/2/2009 7:16:42 PM 0 VickyV <vvick...@harris.com>
security/nss/lib/nss/utilwrap.c and USE_UTIL_DIRECTLY

Hello. I have a couple of related questions. 1) If I am adding a function into the "util" library, should I care about placing a wrapper in the "utilwrap.c" ? 2) Is the USE_UTIL_DIRECTLY really just an option ? It looks like it couldn't be turned off, because "softokn" is using *_Util. Turning USE_UTIL_DIRECTLY off will cause dependency of "softokn" from "nss" lib. I have read bug 286642 discussion, but it doesn't make things clearer. Best regards, -- Konstantin Andreev, software engineer. Swemel JSC

10/1/2009 3:49:17 PM 2 Konstantin Andreev <andr...@swemel.ru>

Pages: 2











Newest Articles

[Hendrix] On a Mac - Can't Uninstall Yahoo Toolbar
9 hour 44 mins ago

[Hendrix] Flash player window mis-placed if the page is reloaded at background tab
9 hour 49 mins ago

[Hendrix] complaint
9 hour 53 mins ago

[Hendrix] MLS players ticket to thump if no do business near March 25
10 hour 3 mins ago

[Hendrix] are you kidding me or what?
10 hour 6 mins ago