• TOTP Authentication Tool

    From Onion Courier@21:1/5 to All on Wed Feb 19 19:40:00 2025
    Hi all,

    Maybe interesting for some of you, in case you
    have for example an Android device with Termux
    installed, or use already my minitalk program,
    with your PC, etc.

    $ totp -h

    Usage of totp:
    -account string
    The account name for the TOTP key (default "user@example.com")
    -issuer string
    The issuer for the TOTP key (default "example.com")
    -skew int
    The skew value for TOTP validation (default: 1) (default 1)

    $ totp

    TOTP Authentication Tool
    1. Generate a new shared secret
    2. Generate a passcode
    3. Validate a passcode
    4. Exit

    https://github.com/706f6c6c7578/TOTP https://en.wikipedia.org/wiki/Time-based_one-time_password

    Regards
    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Claas@21:1/5 to Onion Courier on Thu Feb 20 00:30:53 2025
    Onion Courier wrote:

    Hi all,

    Maybe interesting for some of you, in case you
    have for example an Android device with Termux
    installed, or use already my minitalk program,
    with your PC, etc.

    $ totp -h

    Usage of totp:
    -account string
    The account name for the TOTP key (default "user@example.com")
    -issuer string
    The issuer for the TOTP key (default "example.com")
    -skew int
    The skew value for TOTP validation (default: 1) (default 1)

    $ totp

    TOTP Authentication Tool
    1. Generate a new shared secret
    2. Generate a passcode
    3. Validate a passcode
    4. Exit

    https://github.com/706f6c6c7578/TOTP https://en.wikipedia.org/wiki/Time-based_one-time_password

    totp is updated, it supports now 8 digits passcodes and SHA256, SHA512.

    I tested the program with my Yubikey and the Yubikey Authenticator app
    and everything works fine.

    Regards
    Stefan

    --
    Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTC ohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox
    age1yubikey1qv5z678j0apqhd4ng7p22g4da8vxy3q5uvthg6su76yj0y8v7wp5kvhstum

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Claas@21:1/5 to Stefan Claas on Fri Feb 21 15:19:34 2025
    Stefan Claas wrote:
    Onion Courier wrote:

    Hi all,

    Maybe interesting for some of you, in case you
    have for example an Android device with Termux
    installed, or use already my minitalk program,
    with your PC, etc.

    $ totp -h

    Usage of totp:
    -account string
    The account name for the TOTP key (default "user@example.com")
    -issuer string
    The issuer for the TOTP key (default "example.com")
    -skew int
    The skew value for TOTP validation (default: 1) (default 1)

    $ totp

    TOTP Authentication Tool
    1. Generate a new shared secret
    2. Generate a passcode
    3. Validate a passcode
    4. Exit

    https://github.com/706f6c6c7578/TOTP https://en.wikipedia.org/wiki/Time-based_one-time_password

    totp is updated, it supports now 8 digits passcodes and SHA256, SHA512.

    I tested the program with my Yubikey and the Yubikey Authenticator app
    and everything works fine.

    Added an option to generate deterministic shared secrets, because Bob
    travels a lot... ;-)

    Regards
    Stefan

    --
    Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTC ohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox
    age1yubikey1qv5z678j0apqhd4ng7p22g4da8vxy3q5uvthg6su76yj0y8v7wp5kvhstum

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)