does anyone try nss on FreeBSD platform?

2006-08-08 Thread Alex
___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

How to compile nss3.10 on FreeBSD?

2006-08-15 Thread Alex
i have compiled nss3.10 successful on Windows platform(cygwin), but i ftp the same version nss to a FreeBSD platform, it can't compile? please help me, thanks. bash-2.05b# make nss_build_all "../coreconf/config.mk", line 44: Need an operator "../coreconf/arch.mk", line 56: Missing dependency ope

Re: How to compile nss3.10 on FreeBSD?

2006-08-16 Thread Alex
> Alex wrote: >> i have compiled nss3.10 successful on Windows platform(cygwin), but i ftp >> the same version nss to a FreeBSD platform, it can't compile? please help >> me, thanks. >> >> bash-2.05b# make nss_build_all >> "../coreconf/config.mk&qu

Re: How to compile nss3.10 on FreeBSD?

2006-08-16 Thread Alex
> Alex: > > You should also do "gmake -v" to make sure you are > using GNU make 3.79 or later. The latest versions of > NSS require the 'call' function that was added in > GNU make 3.79 (or a very late 3.7x release). > > Why don't you use the lates

about libsectool.a Why I can't use SECU_ReadDERFromFile

2006-09-26 Thread Alex
I compiled nss on FreeBSD platform, and wrote a program . My program use function SECU_ReadDERFromFile, like this #include "secutil.h" .. rv = SECU_ReadDERFromFile(&certDER, inFile, PR_TRUE); .. This function is in libsectool.a #nm libsectool.a |grep SECU_Read 1290 T SECU_ReadDERFro

Re: about libsectool.a Why I can't use SECU_ReadDERFromFile

2006-09-27 Thread Alex
> Alex wrote: >> I compiled nss on FreeBSD platform, and wrote a program . >> My program use function SECU_ReadDERFromFile, like this >> >> #include "secutil.h" >> .. >> rv = SECU_ReadDERFromFile(&certDER, inFile, PR_TRUE); >>

NSS_SetDomesticPolicy() return 12266

2006-09-29 Thread Alex
Hello, I wrote a program like this: PRInt32 mod_ssl_startup(char *dbdir, PRInt32 clearCert) { char *dbpath=NULL; char *certfile=NULL; PRErrorCode ercode; SECStatus rv; PK11SlotInfo *slot=NULL; .. rv = NSS_InitReadWrite(dbpath); rv = NSS_SetDomesticPolicy(); if(rv!=SECSuccess) {

Re: Thanks for suggestions

2006-09-29 Thread Alex
My NSS version is 3.10. Because of I did some modifications on nss. I try to add a new cipher to nss, but obviously i made some mistakes. I don't know what's wrong. How to avoid that error? I list my modifications here. Do I miss anything? ---

Re: NSS_SetDomesticPolicy() return 12266

2006-09-29 Thread Alex
> Alex, > > I think this basically means that NSS_SetDomesticPolicy() or > NSS_SetExportPolicy() is trying to flag an unimplemented cipher as > SSL_ALLOWED. You shouldn't be getting this error because the table in > sslsock.c that NSS_SetDomesticPolicy() / NSS_SetExportPol

Firefox https return error code -8101

2006-10-09 Thread Alex
boxes when importing my ca certificate,but still can't connect. Why? Thanks Alex ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: need help w tbird and pkcs11

2006-10-11 Thread Alex
emplate[1]: > CKA_NETSCAPE_EMAIL(Netsc) requested with 0 buffer > [out] pTemplate[1]: > CKA_NETSCAPE_EMAIL(Netsc) has size -1 > Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID OK, this is way out of my domain, but I did notice these entrie

Unknown cerificate dialog

2008-06-12 Thread Alex shemshurenko
Hi My name is Alex. Im developing custom application based on mozilla engine. I have a problem, one of the features of application is to access specific web pages, some of them have certificates, some of them have certificates that Mozilla cant verify. And when this happens i see dialog tittled

Can't unwrap key into NSS in FIPS mode

2008-12-21 Thread alex . agranov
kcs11.P11Cipher.engineGetKeySize(P11Cipher.java:582) at javax.crypto.Cipher.b(DashoA13*..) at javax.crypto.Cipher.a(DashoA13*..) at javax.crypto.Cipher.init(DashoA13*..) at javax.crypto.Cipher.init(DashoA13*..) at EncryptionTest.main(EncryptionTest.java

Re: Can't unwrap key into NSS in FIPS mode

2008-12-22 Thread alex . agranov
> Are you sure this is not coming from the cipher.unwrap call? > If you add a line of code to print info about the unwrapped key, > does it show that key to be in the NSS token? Actually, the cipher.unwrap call passes fine, but when I print the unwrappedKey - it looks like a secretKeySpec rather t

JSS doesn't support AES key unwrapping

2008-12-23 Thread alex . agranov
; return EncryptionAlgorithm.RC2_CBC; } } I've seen other people complaining about a similar problem. Is this done on purpose (lack of proper code in NSS/JSS)? Or is it some minor bug in JSS that may be easily fixed? Thank yo

Re: JSS doesn't support AES key unwrapping

2008-12-24 Thread alex . agranov
> oh?  This is the first report of this problem that I recall seeing. Here is a similar report that I was referring to: http://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/thread/01028c36412d94bf ___ dev-tech-crypto mailing list dev-tech

problem with JSS-based custom RMI factory

2008-12-28 Thread alex . agranov
I'm trying to create a simple Java RMI application with a custom factory that uses JSS SSL classes. So I created a simple server and client factories that create SSLServerSocket and SSLSocket instances correspondingly. But when my client tries to "lookup" in the registry, the following happens:

Re: problem with JSS-based custom RMI factory

2008-12-29 Thread alex . agranov
On Dec 28, 5:02 pm, alex.agra...@gmail.com wrote: > I'm trying to create a simple Java RMI application with a custom > factory that uses JSS SSL classes. So I created a simple server and > client factories that create SSLServerSocket and SSLSocket instances > correspondingly. But when my client tri

Re: JSS doesn't support AES key unwrapping

2009-01-13 Thread alex . agranov
FYI - I submitted a patch that fixes the problem. See https://bugzilla.mozilla.org/show_bug.cgi?id=470982 for details. ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

status of NSS FIPS-140 certification on SPARC Solaris 10

2009-01-27 Thread alex . agranov
as planned for Fall 2008 and I wonder how does it go (I see that the module is in IUT state on the NIST site). What platforms will it be certified on? Regards, Alex -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: status of NSS FIPS-140 certification on SPARC Solaris 10

2009-01-28 Thread alex . agranov
Thank you. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

JSS: How to load symmetric key from NSS DB?

2009-03-21 Thread alex . agranov
using Sun PKCS11 provider with NSS instead. Unfortunately AFAIK one can not mix Sun PKCS11 NSS provider with JSS in the same code - and I'm using JSS API for the rest of my application (due to the limitations in Sun PKCS11 NSS provider) - so this doesn't seem to be a valid alternative to

Re: Thunderbird can decrypt without private key?

2010-11-10 Thread alex marin
? 2010/11/10 Robert Relyea > On 11/10/2010 05:34 AM, Matej Kurpel wrote: > > Hello, > > I am implementing a PKCS#11 module for Thunderbird and I have stuck > > upon a weird behavior of Thunderbird. Let me explain: > > For the purposes of testing, I have created a second gmail account. I > > have

Re: Security implications for TLS validation post handshake

2017-10-18 Thread Alex Gaynor
, it fails whenever the server prioritizes accepting something nonsensical from the client. Unfortunately tons of servers have silly configurations; where they support both good and bad ciphers, and prioritize the bad ones! Alex On Wed, Oct 18, 2017 at 5:27 AM, Gregory Szorc wrote: > Context: > >

NSS v3.52 and TLSv1.3's Post-Handshake Authentication -- completion notification?

2020-07-06 Thread Alex Scheel
mplicated (it is either not explicitly set to use the default NSS value, set to something with no knowledge of my SSLEngine, or something with knowledge of the SSLEngine) -- so I'm not sure I like that design. Thoughts? I feel like I might be missing something. - Alex -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: NSS v3.52 and TLSv1.3's Post-Handshake Authentication -- completion notification?

2020-07-08 Thread Alex Scheel
cate that no fatal alert is sent in the event of invalid certificates, which is fine by me. I think that this last suggestion differs from the triggering during regular handshakes? If the handshake fails, the handshake callback won't trigger... We failed to get new, valid credentials, but--