SUMMARY The `kwallet-query` is a simple tool and is suppose to do thee things: 1. listing entries (work) 2. reading password of an entry (works) 3. writing a new entry(does not work). STEPS TO REPRODUCE 1. try to add an entry `kwallet-query --write-password 'foo' kdewallet --verbose <<< "bar"` 2. it says it has successfully written the entry 3. use KWalletManager or use CLI to check if writing was successful: `kwallet-query --list-entries kdewallet` OBSERVED RESULT The `foo` entry does not exist in the wallet EXPECTED RESULT the `foo` entry with the password of `bar` is created in the `Passwords` folder of the wallet. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.12.17-1-lts (64-bit) Graphics Platform: Wayland Processors: 20 × Intel® Core™ i9-10900K CPU @ 3.70GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 ADDITIONAL INFORMATION
Hi - just to check, does adding an entry work for you if you explicitly specify the folder as well, using that --folder option? ex. kwallet-query --write-password foo kdewallet --folder Passwords
(In reply to John Kizer from comment #1) > Hi - just to check, does adding an entry work for you if you explicitly > specify the folder as well, using that --folder option? ex. kwallet-query > --write-password foo kdewallet --folder Passwords No it does not change the situation. The following is the code I ran and the result I got (for privacy reasons some stuff was replaced with "XXX"): [mehrad@host:~] [14:48:04] ❯ kwallet-query --write-password 'foo' kdewallet --verbose --folder 'Passwords' <<< "bar" timer event standby opening wallet "kdewallet" writing "foo" to "Passwords" to "kdewallet" [mehrad@host:~] [14:48:21] ❯ kwallet-query --list-entries kdewallet --folder 'Passwords' ipp-localhost:-1 smb-XXX.XXX.XXX.XX:-1 smb-XXX [mehrad@host:~] [14:48:24] ❯
*** This bug has been marked as a duplicate of bug 491898 ***