qt6-bb10/tests/auto/network/ssl
Jeremy Lainé 5c3a499c9f ssl: disable (broken) i/o on DER encoded keys
QSslKey currently has methods which supposedly allow decoding and
encoding private keys as DER protected by a passphrase. This is
broken by design as explained in QTBUG-41038, as storing the encrypted
DER data alone makes no sense: such a file lacks the necessary
information about the encryption algorithm and initialization vector.

This change:

- explicitly stops using the passphrase when decoding DER in the
  constructor. The behavior is unchanged, it is not possible to
  read the encrypted DER alone.

- refuses to honor the passphrase to DER encode a private key. The toDer
  method now outputs an empty QByteArray instead of garbage.

Task-number: QTBUG-41038
Change-Id: I4281050cf1104f12d154db201a173633bfe22bd9
Reviewed-by: Richard J. Moore <rich@kde.org>
2014-08-30 17:36:23 +02:00
..
qasn1element Added QAsn1Element 2014-08-24 06:01:05 +02:00
qsslcertificate winrt: complete QSslCertificate implementation 2014-08-30 08:20:51 +02:00
qsslcipher QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qsslerror QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qsslkey ssl: disable (broken) i/o on DER encoded keys 2014-08-30 17:36:23 +02:00
qsslsocket Check certificate nullity instead of handle 2014-08-28 13:33:46 +02:00
qsslsocket_onDemandCertificates_member QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qsslsocket_onDemandCertificates_static QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
ssl.pro Added QAsn1Element 2014-08-24 06:01:05 +02:00