| Summary: | Is the KWallet is insecure? | ||
|---|---|---|---|
| Product: | [Applications] kwalletmanager | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
| Component: | general | Assignee: | Valentin Rusu <valir> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | mk.mateng, nicolas.fella, piotr.mierzwinski |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Piotr Mierzwinski
2023-02-26 23:04:43 UTC
It's true that any program can request any password from a open wallet. KWallet was never designed to prevent that, because it's somewhat impossible to do. It would require that apps can be uniquely identified and can't "impersonate" another app, which isn't possible in the traditional Linux world. That doesn't mean KWallet is useless though. The primary thing it prevents is storing passwords in plaintext on the disk so that they can't easily be read if someone has physical access to your computer, e.g. by stealing your laptop (In reply to Nicolas Fella from comment #1) > It's true that any program can request any password from a open wallet. > KWallet was never designed to prevent that, because it's somewhat impossible > to do. It would require that apps can be uniquely identified and can't > "impersonate" another app, which isn't possible in the traditional Linux > world. > > That doesn't mean KWallet is useless though. The primary thing it prevents > is storing passwords in plaintext on the disk so that they can't easily be > read if someone has physical access to your computer, e.g. by stealing your > laptop Yes, but If in my PC will appear malware/ malicious software then will be able to get the password. Am I right? (In reply to Piotr Mierzwinski from comment #3) > Yes, but If in my PC will appear malware/ malicious software > then will be able to get the password. Am I right? It's generally the same with other password managers (with small differences). Some vulnerabilities are very difficult to protect against without deeper support at the OS level. If you get malware on your PC, it's potentially game over, depending on how bad the malware is. Your best bet is to not leave the wallet open more than you need to, use a long passphrase for the wallet (it's easier to remember than a password), and do what you can to protect yourself from getting infected with malware. The password managers are there to make it as difficult as possible to gain access to your accounts, while allowing you use more secure passwords and still manage them relatively easily. They can't protect you entirely from all threats on their own. |