Bug 453113 - kwalletmanager's `Import Encrypted` behavior is different from description on document
Summary: kwalletmanager's `Import Encrypted` behavior is different from description on...
Status: REPORTED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 03:55 UTC by wrvsrx
Modified: 2022-04-28 03:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wrvsrx 2022-04-28 03:55:48 UTC
SUMMARY

kwalletmanager's behaviour is different from description on document (https://docs.kde.org/stable5/en/kwalletmanager/kwallet5/index.html). As described in GPG encryption part (https://docs.kde.org/stable5/en/kwalletmanager/kwallet5/introduction.html#kwallet-create), we can use `Import Encrypted` to import encrypted wallet data into another wallet. However, it prompts "Wallet named <imported wallet name> already exists, Operation aborted", which means kwalletmanager's "Import Encrypted" will import the file as a separate wallet instead of importing to the selected wallet. It contradicts the description in documentation.


STEPS TO REPRODUCE
1. create two wallets named "a" and "b"
2. delete data in "b"
3. export "a" using "Export As Encrypted"
4. choose "b" and import exported file of "a" by "Import Encrypted"

OBSERVED RESULT

The error prompts.

EXPECTED RESULT

Data in "a" should be imported into "b".

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-arch1-1 (64-bit)
Graphics Platform: X11