Bug 405525 - [DBUS] add newVault() and importVault() methods which take all needed parameters from DBUS call
Summary: [DBUS] add newVault() and importVault() methods which take all needed paramet...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Vaults widget (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-16 15:18 UTC by ultr
Modified: 2025-01-15 22:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ultr 2019-03-16 15:18:51 UTC
DBUS kded interface:

Add newVault() and importVault() methods, which take all needed parameters from DBUS call.
There should be a possibility to pass an empty string for default option,
eg. encryption engine = CryFS when not specified.

newVault() only shows a password window to collect the new password from user.
Or (optionally) it can take password from DBUS call as well (would that be safe?)
Comment 1 Ivan Čukić 2019-03-22 18:30:24 UTC
This would be problematic since the backends have different options.

What /could/ be possible is to have API that assumes all options have the default values - and only leaves device, mountPoint and backend.

The password can not be passed in via dbus safely, so that part is definitely out :)

Alternatively, there could be a plasma-vault-cli console app for doing this.