<table><tr><td style="">enriquem created this revision.<br />enriquem added a reviewer: jgrulich.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />enriquem requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18437">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The way an invalid certificate fingerprint is saved in the [vpn-secrets] section does not work. It is unconditionally saved with a key certificate:[host]:[port] when the users accepts the invalid certificate, and is never retrieved so that the user has to accept the certificate again next time.</p>

<p>So, I have changed that behavior to save the fingerprint with a different key, and give the user the chance to accept the fingerprint only for the current connection, to accept it forever, and to delete it from the config file. And make it work properly, that is, once accepted, the user is never asked again.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R116 Plasma Network Management Applet</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18437">https://phabricator.kde.org/D18437</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>vpn/openconnect/CMakeLists.txt<br />
vpn/openconnect/nm-openconnect-service.h<br />
vpn/openconnect/openconnectadvanced.ui<br />
vpn/openconnect/openconnectauth.cpp<br />
vpn/openconnect/openconnectprop.ui<br />
vpn/openconnect/openconnectwidget.cpp<br />
vpn/openconnect/openconnectwidget.h</div></div></div><br /><div><strong>To: </strong>enriquem, jgrulich<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>