[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kio/kssl
From: David Faure <faure () kde ! org>
Date: 2009-11-13 0:08:30
Message-ID: 1258070910.266413.15854.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1048255 by dfaure:
Apply patch from Tim Brown, http://reviewboard.kde.org/r/2035/:
"[The ssl info dialog only displays MD5 and] does not display the SHA1 sum for the cert.
MD5 is broken and subject to chosen prefix attacks. The supplied patch displays the SHA1 sum."
M +1 -0 ksslinfodialog.cpp
M +16 -0 sslinfo.ui
--- trunk/KDE/kdelibs/kio/kssl/ksslinfodialog.cpp #1048254:1048255
@@ -227,6 +227,7 @@
d->ui.serial->setText(cert.serialNumber());
d->ui.digest->setText(cert.digest().toHex());
+ d->ui.sha1Digest->setText(cert.digest(QCryptographicHash::Sha1).toHex());
d->subject->setCertificate(cert, KSslCertificateBox::Subject);
d->issuer->setCertificate(cert, KSslCertificateBox::Issuer);
--- trunk/KDE/kdelibs/kio/kssl/sslinfo.ui #1048254:1048255
@@ -202,6 +202,22 @@
<item row="11" column="1" >
<widget class="QLabel" name="digest" >
<property name="text" >
+ </property>
+ </widget>
+ </item>
+ <item row="12" column="0" >
+ <widget class="QLabel" name="sha1DigestTag" >
+ <property name="text" >
+ <string>SHA1 digest:</string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="12" column="1" >
+ <widget class="QLabel" name="sha1Digest" >
+ <property name="text" >
<string comment="KDE::DoNotExtract" >B4:DB:00:2E</string>
</property>
</widget>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic