Add option to export/import wallets in encrypted form
Review Request #120381 - Created Sept. 26, 2014 and submitted
The "Export as encrypted file" option collects all the
.saltfiles inside the kwallet directory and puts them inside a tar archive. The "Import as encrypted file" option does the opposite.
This patch fixes BUG 338517('Error code -9 when trying to import wallet data') as well as implements BUG 337022('Le kwalletmanager "export as encrypted file"'). The 'Save as' option is removed because it can lead to data loss since the
.saltfile is not copied along with the
It compiles !
Do we need to encrypt the tar file so as to protect the salt (since the backup file might be stored in unsafe locations which might be accessible by an adversary)? Also should "Export as encrypted" be renamed into "Export in encrypted form"?