Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2515

Application stalls when QSslSocket::setPrivateKey() is called with a wrong or empty passphrase.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.3
    • 4.4.0
    • Network
    • None
    • 6eb6424a12dfa672afa8c2602a067699e09c0db9

      QSslKeyPrivate::decodePem(const QByteArray &pem, const QByteArray &passPhrase, bool deepClear)
      calls
      q_PEM_read_bio_RSAPrivateKey(bio, &rsa, 0, phrase);
      The third parameter is the openssl passphrase callback. If it is NULL the default openssl passphrase callback asks through standard input the good passphrase and the application stalls.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mgoetz Markus Goetz (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes