Re: Problem on building NSS with Windows

2016-08-19 Thread John Jiang
In addition, I have checked my installed MozillaBuild. It doesn't include file quickder.c. Is there any wrong on MoziilaBuild? Or some issue in my environment? 2016-08-19 15:24 GMT+08:00 John Jiang <john.sha.ji...@gmail.com>: > Hi, > I tried to build NSS on Windows 7 x86_64 machine,

Problem on building NSS with Windows

2016-08-19 Thread John Jiang
Hi, I tried to build NSS on Windows 7 x86_64 machine, and followed the instructions at: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Building VS 2015 community and Latest MozillaBuild have been installed, and USE_64 was set to 1. When "make nss_build_all" finished, I got the

Re: Problem on building NSS with Windows

2016-08-19 Thread John Jiang
chfox.org/nss/rev/462a77115abebd0f3cd9cb56dbc350 > a25b9be706/lib/util/quickder.c > > On Fri, Aug 19, 2016 at 9:30 AM, John Jiang <john.sha.ji...@gmail.com> > wrote: > > > In addition, I have checked my installed MozillaBuild. It doesn't include > > file quickder.c. > &g

Re: Problem on building NSS with Windows

2016-08-19 Thread John Jiang
Hi, Thanks for your reply. I don't get any useful info from env output, like the below $ env | grep msys OSTYPE=msys MACHTYPE=i686-pc-msys 2016-08-20 0:31 GMT+08:00 Wan-Teh Chang <w...@google.com>: > On Fri, Aug 19, 2016 at 1:49 AM, John Jiang <john.sha.ji...@gmail.com>

Re: Problem on building NSS with Windows

2016-08-19 Thread John Jiang
nsinstall; make libs ... Does it impact the building? Thanks! 2016-08-20 9:48 GMT+08:00 Julien Pierre <julien.pie...@oracle.com>: > That looks correct; must be a different issue then. > > Julien > > > > On 8/19/2016 18:44, John Jiang wrote: > >> Run "ma

Re: Problem on building NSS with Windows

2016-08-20 Thread John Jiang
2016-08-20 20:25 GMT+08:00 Manuel Dejonghe <man...@dejonghe.de>: > On Sat, Aug 20, 2016 at 4:00 AM, John Jiang <john.sha.ji...@gmail.com> > wrote: > > I checked the full logs. Many "execvp: pwd: Permission denied" in the > logs, > > like the below, >

Re: Problem on building NSS with Windows

2016-08-20 Thread John Jiang
g > Sent: Saturday, August 20, 2016 6:58:02 AM GMT -08:00 US/Canada Pacific > Subject: Re: Problem on building NSS with Windows > > 2016-08-20 20:25 GMT+08:00 Manuel Dejonghe <man...@dejonghe.de>: > > > On Sat, Aug 20, 2016 at 4:00 AM, John Jiang <john.sha.ji...@gmail.com

Problems on building NSS with VS2013

2016-09-05 Thread John Jiang
Hi, I tried to build NSS 3.16 + NSPR 4.10.4 with VS2013 (Community) on Windows 8 x64. But finally the following errors were raised: WIN954.0_64_DBG.OBJ\addbuiltin.obj addbuiltin.obj : error LNK2019: unresolved external symbol __imp___acrt_iob_func referenced in function print_crl_info

Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

2016-12-28 Thread John Jiang
Hi, I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended with the following message: ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored [-Werror,-Wunknown-pragmas] #pragma GCC diagnostic ignored "-Wvarargs" ^ 1 error generated.

Re: Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

2016-12-29 Thread John Jiang
Thomson <m...@mozilla.com>: > Hi John, > > Could you open a bug? > https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS=Libraries > > On Thu, Dec 29, 2016 at 5:19 PM, John Jiang <john.sha.ji...@gmail.com> > wrote: > > Hi, > > I tried to build N

How do selfserv and tstclnt specify RSASSA-PSS certificate?

2018-05-30 Thread John Jiang
Hi, I'm using NSS 3.37. Tried to specify a RSASSA-PSS certificate for selfserv and tstclnt, but looks no option supports this certificate type: "Must specify at least one certificate nickname using '-n' (RSA), '-S' (DSA), or 'e' (EC)." But it looks the current NSS supports RSASSA-PSS. --

Re: How do selfserv and tstclnt specify RSASSA-PSS certificate?

2018-05-31 Thread John Jiang
and a low > priority item, but it is still on my todo list). Getting selfserv and > tstclnt to use those keys requires the stack to support them fully, > which - right now - it doesn't. > On Thu, May 31, 2018 at 2:31 AM John Jiang > wrote: > > > > Hi, > > I'm using N

tstclnt request and selfserv response

2018-05-26 Thread John Jiang
Hi, Using NSS 3.37 How to take selfserv to send response when it is connected by a client? Can I implement the below case in shell? 1. tstclnt sends specific request to selfserv; 2. and then the selfserv sends specific response to the tstclnt; 3. (Optional) the tstclnt quits automatically after

Building the latest NSS with VS 2013

2018-01-11 Thread John Jiang
regards, John Jiang -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Can import multiple certificates with same subject?

2018-01-30 Thread John Jiang
Hi, I'm using NSS 3.35. With my testing, it is not allowed to import multiple certificates with same subject and different nicknames to a certificate database via pk12util. I just want to confirm this point. Best regards, John Jiang -- dev-tech-crypto mailing list dev-tech-crypto

Re: Can import multiple certificates with same subject?

2018-01-30 Thread John Jiang
ertificate example2 is displayed. It looks a bug. Best regards, John Jiang 2018-01-31 13:07 GMT+08:00 John Jiang <john.sha.ji...@gmail.com>: > Hi, > I'm using NSS 3.35. > > With my testing, it is not allowed to import multiple certificates with > same subject and different nick

Re: How do selfserv and tstclnt support ALPN?

2018-02-07 Thread John Jiang
Thanks for the clarification! 2018-02-07 22:43 GMT+08:00 Franziskus Kiefer <fkie...@mozilla.com>: > Hi, > > -Q was added in NSS 3.26 and adds, as described, "ALPN for HTTP/1.1 > [RFC7301]". > There's currently non way to set a custom ALPN. > > Cheers >

selfserv and tstclnt on SNI

2018-02-07 Thread John Jiang
Hi, Using NSS 3.35. It looks tstclnt always send SNI extension, even though no option "-a". As for selfserv, I suppose it should have an option for configuring multiple certificates (nicknames) for server side. But I don't find it. In addition, option "-n" means rsa_nickname, but with my

How do selfserv and tstclnt support ALPN?

2018-02-07 Thread John Jiang
Hi, I'm playing selfserv and tstclnt from a NSS 3.35 build. Although selfserv introduces option "-Q" for enabling ALPN, I don't find any option to allow selfserv and tstclnt to specify their application protocols respectively. How to make selfserv and tstclnt to negotiate application protocol?

Re: Building the latest NSS with VS 2013

2018-07-30 Thread John Jiang
Any new update on this point? Can I build NSS with VS2017 now? Best regards, John Jiang 2018-01-19 15:41 GMT+08:00 Franziskus Kiefer : > Hi John, > > using MozillaBuild 2.x with VS 2015 should work fine. That's the only > configuration at the moment that works for building NSS u

Re: Building the latest NSS with VS 2013

2018-01-18 Thread John Jiang
variables. Best regards, John Jiang 2018-01-12 14:21 GMT+08:00 John Jiang <john.sha.ji...@gmail.com>: > Hi, > I need to build NSS with VS 2013 and MozillaBuild 2.2.0. > > Just found the building failed on NSS 3.33 and 3.34.1, exactly many libs, > like nss3, ssl3, were missing. >

tstclnt on session resumption

2018-03-21 Thread John Jiang
Using NSS 3.35 Can tstclnt be used to check session resumption (via session id)? With the tool's usage help, options "-r" and "-u" are related to session resumption. Option "-u" is related to session ticket, howerver I focus on session id, so just option "-r 2" was used in my command. But it

selfserv on session resumption

2018-03-23 Thread John Jiang
Using NSS 3.35 on MacOSX to test session resumption (via session id). If a client connect to a selfserv server with same options many times, the server may not reuse the session. I used a JSSE client to connect the selfserv server twice. In the second connection, the client used the same SSL

Re: selfserv and tstclnt on SNI

2018-02-28 Thread John Jiang
rtin Thomson <m...@mozilla.com> wrote: > > > These sound like simple bugs. Most are probably good first bugs for > > someone looking to contribute. > > > > On Thu, Feb 8, 2018 at 6:13 PM, John Jiang <john.sha.ji...@gmail.com> > > wrote: > > > H

Re: Debug info on NSS tools

2019-01-04 Thread John Jiang
ght need a debug build (i.e. build yourself with debugging enabled). > > https://wiki.mozilla.org/NSS:Tracing > > Kai > > On 03.01.19 13:51, John Jiang wrote: > > Just tried it, but looked not work. > > > > $ export SSLDEBUG=1 > > $ export SSLTRACE=127 >

Debug info on NSS tools

2019-01-02 Thread John Jiang
Can NSS tools, like selfserv and tstclnt, output debug info? My NSS binary is built with debug mode. I try to enable the debug logs for selfserv and tstclnt, but don't get any useful option. Option -v just outputs a bit more logs. That's not enough for me. I wish the tools can output more details

Re: Debug info on NSS tools

2019-01-06 Thread John Jiang
make nss_build_all` to build NSS. Does that mean my build should already be a debug build? Thanks! > > On Sat, 5 Jan. 2019, 11:40 John Jiang > > I had read that page. In fact, SSLDEBUG and SSLTRACE were used in my last > > try. > > My NSS was built with "BUILD_OPT=0&q

Building NSS 3.40 with VS 2017

2018-11-18 Thread John Jiang
NSS 3.40 release note contains "It is easier to build NSS on Windows in mozilla-build environments". Does it mean that I can build NSS with VS 2017 now? I'm following the guide in https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Building, and using MozillaBuild 3.2. But after start

Re: Debug info on NSS tools

2019-01-03 Thread John Jiang
that 20-ish gets some fairly useful logging. > > On Thu, Jan 3, 2019 at 6:12 PM John Jiang > wrote: > > > Can NSS tools, like selfserv and tstclnt, output debug info? > > My NSS binary is built with debug mode. > > > > I try to enable the debug logs for self

Failed building NSS 3.44 on MacOSX

2019-06-23 Thread John Jiang
Hi, I tried to build NSS 3.44 on MacOSX 10.13.6 (Darwin Kernel Version 17.7.0). Just run "make nss_build_all" in directory nss-3.44/nss, and got the below errors, mkdir -p ./../nspr/Darwin17.7.0_cc_64_OPT.OBJ cd ./../nspr/Darwin17.7.0_cc_64_OPT.OBJ ; \ CC="cc x86_64" CXX="g++ x86_64" sh

Re: Failed building NSS 3.44 on MacOSX

2019-06-25 Thread John Jiang
for more details == I also checked the config.log for NSS 3.43, it looks cc doesn't use option "x86_64". Thanks! > > On Sun, Jun 23, 2019 at 6:27 PM John Jiang > wrote: > > > Hi, > > I tried to build NSS 3.44 on MacOSX 10.13.6 (Da

Re: NSS 3.45 building hang on windows

2019-08-31 Thread John Jiang
On Sat, Aug 31, 2019 at 12:40 AM JC Jones wrote: > On Thursday, August 29, 2019 at 7:31:46 PM UTC-7, John Jiang wrote: > > Hi, > > When I build NSS 3.45 on windows 2016 with VS2017, it hung at "cd freebl; > > make export". > > > > The fol

NSS 3.45 building hang on windows

2019-08-29 Thread John Jiang
Hi, When I build NSS 3.45 on windows 2016 with VS2017, it hung at "cd freebl; make export". The followings are the last outputs in the console, ... ... make[1]: Entering directory `/path/to/nss-3.45/nss/lib' cd util; make export make[2]: Entering directory `/path/to/nss-3.45/nss/lib/util'