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?
Many thanks, Ranjan
-- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
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.