Re: How to export private key using pk12util

2009-04-23 Thread Arshad Noor
Nelson, I'm afraid PKCS#8 *does* allow for protecting private-keys with passwords, but you have to explicitly choose the ASN type when creating the file. Details can be found at: ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-8.asc While NSS itself has no use for the PKCS#8 format (since it sto

Re: How to export private key using pk12util

2009-04-23 Thread Nelson Bolyard
Kyle Hamilton wrote, On 2009-04-23 14:02: > Is there a pk1util that would allow for PKCS#1 management? I think > that would be more useful than requiring a self-signed public key > wrapper for pk12util. Private key storage is not within the scope of PKCS#1. It is covered by PKCS#8. NSS supports

Re: How to export private key using pk12util

2009-04-23 Thread Kyle Hamilton
Is there a pk1util that would allow for PKCS#1 management? I think that would be more useful than requiring a self-signed public key wrapper for pk12util. -Kyle H On Thu, Apr 23, 2009 at 1:45 PM, Nelson B Bolyard wrote: > Andriy Zakharchuk wrote, On 2009-04-23 12:07: >> Hello all, >> >> I have

RNG continuous test failure

2009-04-23 Thread ksreedhar74
Hello, I am using Mozilla JSS provider from Java. JSS 4.2.5 NSS 3.11.4 NSPR 4.6.4 When the FIPS RNG continuous tests fail, what is the behavior in NSS/ JSS. What does it return. do we get an java exception to the calling function. For example, when Java code tries to establish a TLS Socket sess

Re: How to export private key using pk12util

2009-04-23 Thread Nelson B Bolyard
Andriy Zakharchuk wrote, On 2009-04-23 12:07: > Hello all, > > I have a keys database file (key3.db) and need to export a private key > from it, but can not do this. What version of the NSS utilities are you using? version 3.??.?? > certutil.exe -L -d . > > gives empty output (empty line) and

How to export private key using pk12util

2009-04-23 Thread Andriy Zakharchuk
Hello all, I have a keys database file (key3.db) and need to export a private key from it, but can not do this. Some information about the database certutil.exe -U -d . gives following output slot: NSS User Private Key and Certificate Services token: NSS Certificate DB slot: NSS

Re: UTF-8 Hashing

2009-04-23 Thread Jean-Marc Desperrier
Nelson B Bolyard wrote: Is that python code? I thought it was JavaScript. Yes, you're right, I had a really too quick look at it :-) -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto