Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nir0s opened this issue Oct 8, 2016 · 0 comments
Open

Comments

@nir0s
Copy link
Owner

nir0s commented Oct 8, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants