QtCoAP: document absence of secure credential erasure


QCoapSecurityConfigurationPrivate and QCoapPrivateKeyPrivate hold
sensitive fields (pre-shared key, private key, passphrase, identity)
in QByteArray and QString members whose destructors free heap memory
without zeroing it. Being implicitly shared, these types may also hold
several copies of the same secret that cannot be wiped
deterministically.

Extend the documentation to warn the user about this shortcoming.

Fixes: QTBUG-149941
Pick-to: 6.12 6.11 6.8
Change-Id: I623076facc5aa7b8705ec52922bf77eab3fd70da
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commit8eca177ad82be6602e28a12ba119834c3c1943c9
parent063bcf93cf41d62811b251a9b3b0feacba9955eb
authorMate Barany <mate.barany@qt.io>
committerMate Barany <mate.barany@qt.io>
commit timeFri, 18 Sep 2026 07:48:13 +0000