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

Error with hasAllKeys iterations: "Master key data does not have required fields" #19

Open
alexmuller opened this issue Jan 8, 2017 · 3 comments

Comments

@alexmuller
Copy link

if (!hasAllKeys(input, "data", "iterations", "validation", "level", "identifier"))

if (!hasAllKeys(input, "data", "iterations", "validation", "level", "identifier"))

My encryptionKeys.js file contains all of the required keys except for iterations which isn't present.

@jbreams
Copy link
Owner

jbreams commented Jan 8, 2017

Is there a default value for iterations? If so, I don't know what it is since my encryptionKey.js files all have iterations values. I'd be happy to add a reasonable default if you tell me what it is.

@alexmuller
Copy link
Author

Hm, I'm not sure what the default would be or where I'd find it. Are the iterations in your file consistent or all they all different?

@jbreams
Copy link
Owner

jbreams commented Jan 22, 2017

So my test vault has 100,000 iterations, and my actual vault has 90909 iterations! Go figure!

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

No branches or pull requests

2 participants