When you copy a password from the store and use it, its good practice to clear the clipboard afterwards.
This patch automates this process by setting a timer on copy to clean up.
When you copy a password from the store and use it, its good practice to clear the clipboard afterwards.
This patch automates this process by setting a timer on copy to clean up.
Open a wallet, copy a password and past it for 31 seconds till it shows *redacted*
Lint Skipped |
Unit Tests Skipped |
There's a hint one can set now to keep Klipper from storing a content, specifically designed for password managers. I think KWalletManager should just set that. Something like
QMimeData *data = new QMimeData(); data->setText(password); data->setData("x-kde-passwordManagerHint", QByteArrayLiteral("secret")); qApp->clipboard()->setMimeData(data, QClipboard::Clipboard);