gonepass icon indicating copy to clipboard operation
gonepass copied to clipboard

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

Open alexmuller opened this issue 8 years ago • 3 comments

https://github.com/jbreams/gonepass/blob/22ea0695a8a7261be4417d2671e0c3f6e7bf1f88/keychain.cpp#L130

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.

alexmuller avatar Jan 08 '17 13:01 alexmuller

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.

jbreams avatar Jan 08 '17 18:01 jbreams

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?

alexmuller avatar Jan 15 '17 16:01 alexmuller

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

jbreams avatar Jan 22 '17 18:01 jbreams