<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/101275/">http://git.reviewboard.kde.org/r/101275/</a>
     </td>
    </tr>
   </table>
   <br />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This review has been submitted with commit 23385210c79df483cfeb47a31631677cf33cd18c by Ilia Kats.</pre>
 <br />







<p>- Commit</p>


<br />
<p>On May 4th, 2011, 10:36 p.m., Ilia Kats wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Network Management.</div>
<div>By Ilia Kats.</div>


<p style="color: grey;"><i>Updated May 4, 2011, 10:36 p.m.</i></p>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Currently, KDE NM is not compatible with PEM certificates (base64-encoded), which are the most used format. Attached patch makes some improvements in certificate handling, namely:
until now, the certificate was stored in the connection settings file, not base64-decoded or anything, and passed like that to NM. However, NM expects a binary DER certificate if using the blob scheme or a path to the certificate in the form of file://path_to_certificate if using the path scheme. Since a PEM file containing multiple certificates is possible, we would have to use the path scheme anyway, as a DER blob can only contain one certificate, so this patch also improves the certificate handling: Instead of just saving the path to the certificate, it is now being imported to $HOME/.kde/share/networkmanagement/certificates for user scope connections or /usr/share/kde4/apps/networkmanagement/certificates for systemscope connections. This allows the user to move or delete the original file without worrying about his connections. Certificates are deleted when they are no longer needed, e.g. the connection gets deleted, &quot;Use system CA&quot; is checked or another security method is selected.

This is a major change in behavior, so I would like a public review.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Yes, see the bugzilla ticket.</pre>
  </td>
 </tr>
</table>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=209673">209673</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>CMakeLists.txt <span style="color: grey">(6748cee)</span></li>

 <li>backends/NetworkManager/nmdbussettingsconnectionprovider.cpp <span style="color: grey">(40a364f)</span></li>

 <li>libs/internals/connection.h <span style="color: grey">(60516dc)</span></li>

 <li>libs/internals/connection.cpp <span style="color: grey">(e00c8ac)</span></li>

 <li>libs/internals/connectionpersistence.cpp <span style="color: grey">(2862250)</span></li>

 <li>libs/internals/setting.h <span style="color: grey">(b43365b)</span></li>

 <li>libs/internals/setting.cpp <span style="color: grey">(e66c65a)</span></li>

 <li>libs/internals/settings/802-1x.h <span style="color: grey">(971ef41)</span></li>

 <li>libs/internals/settings/802-1x.cpp <span style="color: grey">(245507e)</span></li>

 <li>libs/internals/settings/802-1xpersistence.cpp <span style="color: grey">(b7b9c42)</span></li>

 <li>libs/ui/security/eapmethodleap.cpp <span style="color: grey">(199a8b8)</span></li>

 <li>libs/ui/security/eapmethodpeapbase.ui <span style="color: grey">(4b9c5fd)</span></li>

 <li>libs/ui/security/eapmethodtlsbase.ui <span style="color: grey">(80a5c1f)</span></li>

 <li>libs/ui/security/eapmethodttlsbase.ui <span style="color: grey">(4f2e1a9)</span></li>

 <li>libs/ui/security/peapwidget.h <span style="color: grey">(51ad781)</span></li>

 <li>libs/ui/security/peapwidget.cpp <span style="color: grey">(2fc502b)</span></li>

 <li>libs/ui/security/tlswidget.h <span style="color: grey">(c71dcf3)</span></li>

 <li>libs/ui/security/tlswidget.cpp <span style="color: grey">(1d28636)</span></li>

 <li>libs/ui/security/ttlswidget.h <span style="color: grey">(b1a9049)</span></li>

 <li>libs/ui/security/ttlswidget.cpp <span style="color: grey">(c135b19)</span></li>

 <li>settings/config/manageconnectionwidget.h <span style="color: grey">(58afc12)</span></li>

 <li>settings/config/manageconnectionwidget.cpp <span style="color: grey">(3c0d4dc)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/101275/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>