ghost icon indicating copy to clipboard operation
ghost copied to clipboard

Exporting and loading a stash does not allow to change the passphrase

Open nir0s opened this issue 9 years ago • 0 comments
trafficstars

When exporting a stash, the values stay encrypted. Loading them into a new stash then means that that stash's passphrase must be the same as the one exported to be able to read the values.

A possible solution could be to create an encrypted version of the entire source stash's data based on the destination stash's passphrase and then passing that passphrase to load, where it will be decrypted and each value will be encrypted according to the destination stash's passphrase.

We should probably take a look at the migrate function to see how to implement this nicely.

nir0s avatar Oct 08 '16 17:10 nir0s