<br><div class="gmail_quote">2012/10/12 Emilien Kia <span dir="ltr"><<a href="mailto:kiae.dev@gmail.com" target="_blank">kiae.dev@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi guys,<br></blockquote><div><br>Hi Emilien and the list,<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is a pull request to finally merge NSS feature in nut trunk:<br>
<a href="https://github.com/clepple/nut/pull/3" target="_blank">https://github.com/clepple/nut/pull/3</a><br></blockquote><div><br>I'd like to take a moment to shed some more light on this important development, which lasted 3 years:<br>
<br>- the <a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2009-September/004023.html" target="_blank">initial request</a> to support Mozilla NSS (Network Security Services) was made by Michal Hlavinka (from Redhat) in September 2009.<br>

at that time, Redhat was pushing an effort to <a href="http://fedoraproject.org/wiki/FedoraCryptoConsolidation" target="_blank">consolidate cryptographic services</a> in Fedora.<br>The same was true on the side of Suse / Novell (Stanislav Brabec).<br>
<br>- as a Debian developer, I was very interested in the topic:<br>
for legal reasons, NUT can't be linked with OpenSSL without exiting from the 'main' Debian repository.<br>since NSS is distributed under 3 licenses, including GPL, it will fix the missing crypto in Debian (and derivatives) NUT packages!<br>

<br>- as a NUT dev, I made a preliminary audit a few months later: <a href="https://alioth.debian.org/pm/task.php?func=detailtask&project_task_id=456&group_id=30602&group_project_id=315" target="_blank">Alioth Task #456</a> (SSL support using Mozilla NSS).<br>

but lacking time on my side, another person was needed to work on it.<br><br>- this happened through the Eaton sponsorship, half a year later:<br>Emilien, a very knowledgeable and skilled in IT security and software development (perfect profile for this task), started to work on the topic.<br>

<br>- actual development happened over 2 months (dec. 2010-jan. 2011), executed perfectly as planned.<br>it successfully passed tests, and only received very few adjustments later.<br><br>- some merge preparations were attempted over the past year. but the actual merge never happened, for various reasons.<br>

<br>- Emilien devoted a lot of energy and personal time, over the past week, to get the merge approval.<br>so thanks a lot, and kudos Emilien! you did it ;)<br><br>- thus my review was easier and quicker. it resulted in my approval, with a tiny (but not minor) adjustment.<br>

namely, libupsclient version information was not bumped (my fault!).<br>however, some improvements are already planned and will be tracked soon on Alioth.<br><br>- Frédéric Bohé (from Eaton) also deserve his bunch of thanks, for having executed the NSS tests... several times over the past couple of years. so thanks a lot Fred. Wookiee power!<br>
<br>- the final thanks goes to Charles Lepple, who counter approved the github pull request, and handled the final merge to the official development tree, a few hours ago:<br><br>> <a href="http://trac.networkupstools.org/projects/nut/changeset/3751" target="_blank">http://trac.networkupstools.org/projects/nut/changeset/3751</a><br>


> <br>> 
Add Network Security Services (NSS) support<br>
> <br>> 
Author: Emilien Kia <<a href="mailto:kiae.dev@gmail.com" target="_blank">kiae.dev@gmail.com</a>><br>
> <br>> 
Based on SVN: branches/ssl-nss-port<br>
> <br>> 
Closes pull request #3: <a href="https://github.com/clepple/nut/pull/3" target="_blank">https://github.com/clepple/nut/pull/3</a><br>
> <br>> 
Additional commits by Arnaud Quette and Arjen de Korte.<br>
<br>- the compilation is successful on our <a href="http://buildbot.networkupstools.org/public/nut/builders" target="_blank">Buildbots</a>, except on Aix (not available, offline) and Windows (not applicable).<br><br>- Emilien and I will work on completing the <a href="http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/view/head:/scripts/test-nut.py" target="_blank">QA regression test script for NUT</a> for NSS.<br>
<span id="result_box" class="short_text" lang="en"><span class="hps">for the time being</span></span>, all the (few) current tests pass on the new trunk:<br><br>> test_CVE_2012_2944 (__main__.BasicTest)<br>> Test CVE-2012-2944 ... ok<br>
> test_daemons_pid (__main__.BasicTest)<br>> Test daemons using PID files ... ok<br>> test_daemons_service (__main__.BasicTest)<br>> Test daemons using "service status" ... ok<br>> test_upsc_device_list (__main__.BasicTest)<br>
> Test NUT client interface (upsc): device(s) listing ... ok<br>> test_upsd_IPv4 (__main__.BasicTest)<br>> Test upsd IPv4 reachability ... ok<br>> test_upsd_IPv6 (__main__.BasicTest)<br>> Test upsd IPv6 reachability ... ok<br>
> test_upsmon_notif (__main__.BasicTest)<br>> Test upsmon notifications ... ok<br>> test_upsmon_shutdown (__main__.BasicTest)<br>> Test upsmon basic shutdown (single UPS, low battery status) ... ok<br>> test_upsrw (__main__.BasicTest)<br>
> Test upsrw ... ok<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...<br>
The DVT have been successfully passed by Fred Bohe (Eaton).<br></blockquote><div><br>for those interested in, this tests validation report is available <a href="http://www.networkupstools.org/tmp/NUT-NSS_Mini_DVT_exec10Oct2012-FBohe.pdf" target="_blank">here</a>.<br>

<br>the current plan is still to release NSS support with 2.8.0.<br>I will discuss, in a separate thread on -upsusers, the progress status of the 2.8.0.<br><br>in the meantime, a <a href="http://www.networkupstools.org/source/2.8/nut-trunk-r3751.tar.gz" target="_blank">snapshot</a> is available for testing.<br>

you will need to have NSS development files, to use "configure --with-nss".<br>refer to docs/security.txt, § "NSS backend usage" for configuration instructions.<br>
I will post a blog entry with more details.<br><br>it's sometime a long road to reach the target.<br>thanks again to Emilien, Fred and Charles.<br>and to Eaton for this sponsorship.<br><br>cheers,<br>Arnaud<br></div>
</div>-- <br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br>