Bug 405525

Summary: [DBUS] add newVault() and importVault() methods which take all needed parameters from DBUS call
Product: [Plasma] plasmashell Reporter: ultr <ultr>
Component: Vaults widgetAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: ivan.cukic, nate, ultr
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.