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

Cannot make library write the keys files. #20

Open
nugget opened this issue Nov 5, 2018 · 0 comments
Open

Cannot make library write the keys files. #20

nugget opened this issue Nov 5, 2018 · 0 comments

Comments

@nugget
Copy link

nugget commented Nov 5, 2018

I've been using this library for several years now and with the recent builds I'm seeing a strange change in behavior where it is not writing out any contents to the keys directory under normal operation.

If I have a populated keys directory the saved keypair, secret, and salt are loaded as I'd expect.

If I launch my application with no saved keys, the keys directory is created, but no files are placed inside.

What behavior triggers the key files to be written? I thought it was supposed to happen when I called NewTOTP() but that doesn't seem to be the case. I could swear that's how it used to behave, though.

Is this a bug or am I doing something wrong?

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

1 participant