diff --git a/index.html b/index.html index c6d315b..cfeefdf 100644 --- a/index.html +++ b/index.html @@ -36,6 +36,45 @@ +
+
+
+

What is this?

+

This is a code generator for the Time-based One Time Password + (TOTP) algorthm. It's intended for developers of web applications with TOTP support to quickly generate + codes for testing purposes. It's not a general purpose authenticator app. +

+

What this tool can do:

+
    +
  • Quickly generate TOTP codes;
  • +
  • View codes for past and future time-windows; and
  • +
  • Fiddle with various TOTP paramters.
  • +
+

What this tool can't do:

+
    +
  • Store your TOTP secrets;
  • +
  • Act as your general purpose authenticator app; and
  • +
  • Scan TOTP QR codes.
  • +
+
+
+
+
+

How do I use this tool?

+

To start, simply type or paste in the TOTP secret key. This should be in the standard base32 + format. This will generate 6-digit TOTP codes that update every 30 seconds using the SHA-1 algorithm that's used + by default in all major authenticator apps. +

+

You can press "show advanced settings" to adjust the TOTP parameters to use non-default + values. +

+

The generated codes are displayed in chronological order. The current code is shown in large + text. The codes above are past codes, and the codes below are future codes.

+
+
+
+ diff --git a/src/index.scss b/src/index.scss index d17e4d7..b7f2dcd 100644 --- a/src/index.scss +++ b/src/index.scss @@ -18,6 +18,7 @@ @import 'bootstrap/scss/_helpers.scss'; @import 'bootstrap/scss/_transitions.scss'; @import 'bootstrap/scss/_popover.scss'; +@import 'bootstrap/scss/_card.scss'; nav { background-color: $body-tertiary-bg; @@ -69,6 +70,10 @@ nav { margin-bottom: 0.5em; } +.totp-about .card { + margin-top: 0.5em; +} + .totp-code { text-align: center; height: 1.5em;