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.
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?