On 3/19/19 9:32 PM, Ranjan Maitra wrote:
Hi,
I am not sure if this question makes a lot of sense, but is it possible to run google-authenticator in headless mode? Basically, I am thinking of a process which will run the authenticator to get the digits dumped somewhere from where another process can pick it up and put in some python or similar source code? Is this a practical proposition?
$ oathtool --totp -b YOURSECRETBASE NNNNNN
The trick is just in knowing the value YOURSECRETBASE.