Where to get 'modlogger.pl'

2011-01-12 Thread Bernhard Thalmayr
Hi Experts, where do I get the script 'modlogger.pl' mentioned in 'http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn2.html'? TIA, Bernhard -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Bernhard Thalmayr
So here we go ... the PCKS#11 logger shows the following 331569088[1bd1610]: C_DigestUpdate 331569088[1bd1610]: hSession = 0x88 331569088[1bd1610]: pPart = 0x6e580a4 331569088[1bd1610]: ulPartLen = 70 331569088[1bd1610]: rv = CKR_OK 331569088[1bd1610]: C_GetMechanismInfo

Re: Where to get 'modlogger.pl'

2011-01-12 Thread Nelson B Bolyard
On 2011-01-12 13:18 PDT, Bernhard Thalmayr wrote: Hi Experts, where do I get the script 'modlogger.pl' mentioned in 'http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn2.html'? Sadly, it no longer exists. But IMO, you don't need it. The raw output is equally readable without it,

Re: How to get 'TRACE' build?

2011-01-12 Thread Nelson B Bolyard
On 2011-01-11 13:26 PDT, Bernhard Thalmayr wrote: Hi experts, https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables tells me that I have to build NSS/NSPR with 'TRACE'. Unfortunatley I have not found how to make this build work. I've already search the archive and

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Nelson B Bolyard
Bernhard wrote: 331569088[1bd1610]: flags = 0x4 331569088[1bd1610]: pApplication = 0331569088331569088[1bd1610]: Notify = 0x13231f31569088[1bd1610]: phSession = 0x7fffc331569088[1bd1610]: phKey = 0x36c1618 331569088[1bd1610]: CKA_CLASS = CKO_SECRET_KEY [8] Was that a copy

Re: How to get 'TRACE' build?

2011-01-12 Thread Bernhard Thalmayr
On 01/12/2011 10:46 PM, Nelson B Bolyard wrote: On 2011-01-11 13:26 PDT, Bernhard Thalmayr wrote: Hi experts, https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables tells me that I have to build NSS/NSPR with 'TRACE'. Unfortunatley I have not found how to make this build

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Bernhard Thalmayr
On 01/12/2011 10:50 PM, Nelson B Bolyard wrote: Bernhard wrote: 331569088[1bd1610]: flags = 0x4 331569088[1bd1610]: pApplication = 0331569088331569088[1bd1610]: Notify = 0x13231f31569088[1bd1610]: phSession = 0x7fffc331569088[1bd1610]: phKey = 0x36c1618 331569088[1bd1610]:

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Bernhard Thalmayr
On 01/12/2011 10:50 PM, Nelson B Bolyard wrote: Bernhard wrote: 331569088[1bd1610]: flags = 0x4 331569088[1bd1610]: pApplication = 0331569088331569088[1bd1610]: Notify = 0x13231f31569088[1bd1610]: phSession = 0x7fffc331569088[1bd1610]: phKey = 0x36c1618 331569088[1bd1610]:

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Wan-Teh Chang
On Wed, Jan 12, 2011 at 2:02 PM, Bernhard Thalmayr bernhard.thalm...@painstakingminds.com wrote: Am'I wright that 'C_DeriveKey' is actually 'NSC_DeriveKey' in http://mxr.mozilla.org/security/source/security/nss/lib/softoken/pkcs11c.c ? Yes. C_DeriveKey is a function pointer. It points to the

Re: How to get 'TRACE' build?

2011-01-12 Thread Nelson B Bolyard
On 2011-01-12 13:53 PDT, Bernhard Thalmayr wrote: Although I've only done a debug build I get an ssl-trace file starting with .. SSL: tracing set to 127 SSL: debugging set to 127 12676: SSL: grow buffer from 0 to 18432 12676: SSL: grow buffer from 0 to 18432 12676: SSL[107778448]:

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-12 Thread Robert Relyea
On 01/12/2011 01:26 PM, Bernhard Thalmayr wrote: So here we go ... the PCKS#11 logger shows the following 331569088[1bd1610]: C_DigestUpdate 331569088[1bd1610]: hSession = 0x88 331569088[1bd1610]: pPart = 0x6e580a4 331569088[1bd1610]: ulPartLen = 70 331569088[1bd1610]: rv = CKR_OK

NSS 3.12.9 RTM Released.

2011-01-12 Thread Robert Relyea
Release notes are coming soon. The tag is NSS_3_12_9_RTM. bob -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: Firefox PSM locks NSS

2011-01-12 Thread Nelson B Bolyard
On 2011-01-11 04:48 PDT, Irune Prado Alberdi wrote: I'm trying to access a NSS shareable database (3.1.2 with NSS_DEFAULT_DB_TYPE=sql) while having a Firefox NSS session already initialized over the pkcs11 module of my smartcard. My test is really simple but I don't get to know why firefox

Re: Firefox PSM locks NSS

2011-01-12 Thread Wan-Teh Chang
On Tue, Jan 11, 2011 at 4:48 AM, Irune Prado Alberdi ipr...@zylk.net wrote: Up to this point I can properly work with my certificates in firefox but when I try to simultaneously access it via certutil I get blocked pre ~/.pki/nssdb$ certutil -d sql:. -K -h izenpe /pre This doesn't block

Re: Firefox PSM locks NSS

2011-01-12 Thread Wan-Teh Chang
On Tue, Jan 11, 2011 at 4:48 AM, Irune Prado Alberdi ipr...@zylk.net wrote: While if I terminate the pkcs11 session in firefox I can successfully acces the token pre $ certutil -d sql:. -K -h izenpe certutil: Checking token Builtin Object Token in slot NSS Builtin Objects certutil: no keys