jbtule/keyczar-dotnet

Crash generating a new Crypter when matadata contains password.

Closed this issue · 1 comments

Maybe I'm doing something wrong.
If:

  1. KeyczarTool.exe create --location=[path] --purpose=crypt
  2. KeyczarTool.exe create --location=[path] --status=primary
  3. Crypter cyp = new Crypter(path);
    All ok.
    If:
  4. KeyczarTool.exe create --location=[path] --purpose=crypt
  5. KeyczarTool.exe create --location=[path] --status=primary --password
  6. Crypter cyp = new Crypter(path); <--Crash

Should I do something if metadata contains a password for avoiding the crash?
Thanks for your project and Regards,

PbeKeySet pks= PbeKeySet(path, FunctionOrLambdaThatReturnsPassword);
Crypter cyp = new Crypter(pks);