qt5base-lts/tests/auto/network
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
..
access Merge remote-tracking branch 'origin/5.3' into dev 2014-07-29 12:56:06 +02:00
bearer Fix crash in QNetworkAccessManager. 2014-05-19 15:52:58 +02:00
kernel Android: Fix compilation of qhostaddress test 2014-06-30 08:59:45 +02:00
socket Skip unstable autotests in QtBase. 2014-07-02 09:28:34 +02:00
ssl ssl: disable (broken) i/o on DER encoded keys 2014-08-30 17:36:23 +02:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00