Closed guiniol closed 8 years ago
This is on my TODO list, but I did not work on it, yet.
Ok. I'll see what I can do then.
Implemented with 49200cf2e80f7d23d2a2717130486316a9e12698. Want to give it a try?
That was fast! Works well here. I would suggest a confirmation for the new second factor and when using -S for the first time.
I would suggest a confirmation for the new second factor
Done in 631b93a7d056b1d73b14993cd13c5bdc3b1785a6. Want to give it a try?
and when using -S for the first time.
When parsing the command line I do not know whether or not this is the initialization. In 1c02924892b0ee0e325677351667bad799b7a254 I changed the documentation to use -n
for initialization. -s
(and -S
without verification) still works, though.
That makes sense: -n
is the new value of 2fa, and -s
is only needed if there is already a 2fa.
I'll try it Friday (no access to the computer until then).
Works here. Nice!
Thanks for testing!
I don't really like having to type the 2FA on the command line, and would much rather have a prompt like when it asks for the encryption key (ie, where the password is not echoed). I don't know if this is in the works, but if it isn't I'll take a look and try to add it myself, if that's ok.