[kwlug-disc] Google with TOTP

Khalid Baheyeldin kb at 2bits.com
Tue Jun 21 21:10:28 EDT 2022


On Mon, Jun 20, 2022 at 12:05 PM Bob B <bob at softscape.ca> wrote:

> If we are talking about using TOTP from the cli, have a look at my talk
> from 2022-05 (https://kwlug.org/node/1287) around the 33:14 mark is where
> I show how to use TOTP with the linux 'pass' command.
>

I watched the entire presentation. Very helpful stuff ...
I will look into pass to see if I can use that too, not only the OTP part.

Until then, I have a small file that looks like this:

site1 hash1 sha1 base32
site2 hash2 sha1 base32

Then a simple shell script is given the "site1" part, looks the rest of the
line, and feeds them to oathtool.
Out comes the one time pass code for the site.

The file is in a directory with permission 700, and the file itself has
permission 600.
So can't be read by anyone.
-- 
Khalid M. Baheyeldin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20220621/a0394bd9/attachment.htm>


More information about the kwlug-disc mailing list