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

QWebSocketServer creates persistent files in Microsoft/Crypto/RSA on each new client connection.

XMLWordPrintable

    • Windows
    • 94f0ff704 (dev), 617625ab0 (6.10), d28f3605f (6.9), 5078de363 (tqtc/lts-6.8), bc298f674 (tqtc/lts-6.5), f1fddfcfc (tqtc/esm-5.15), a3e80a7dc (tqtc/mosa-5.15)
    • Foundation Sprint 131, Foundation Sprint 132

      When using QWebSocketServer on Windows, a new file is created under the AppData/Roaming/Microsoft/Crypto/RSA directory every time a new client connects. These files are not deleted after the connection is closed, nor when the application exits, leading to accumulation of leftover files over time.

      Steps to Reproduce:

      1. Run sslechoserver (https://doc.qt.io/qt-6.5/qtwebsockets-sslechoserver-example.html)

      2. Start the server and connect a client.

      3. After connected, check the folder:
      %APPDATA%\Roaming\Microsoft\Crypto\RSA\<user SID>\

      4. Observe a new file being added for each client connection.

      5. Close client connection and exit the application.

      6. Files remain in the folder.

        For Gerrit Dashboard: QTBUG-136055
        # Subject Branch Project Status CR V

            manordheim MÃ¥rten Nordheim
            mahdi.belila Mehdi Belila
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes