Files
tldr/pages.zh/common/oathtool.md
K.B.Dharun Krishna 8538a31451 pages/*: add standard translation and links (#11331)
* pages/*: add standard translation and links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix1: false positives; standardize Bengali, Hindi, Nepali periods

* fix: periods in recently added Bengali pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix: false positives in modified files

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: update to native period in Bengali l10n

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-06 14:02:31 +05:30

418 B
Raw Blame History

oathtool

OATH 一次性密码工具。 更多信息:https://www.nongnu.org/oath-toolkit/oathtool.1.html.

  • 生成 TOTP 令牌(行为类似于 Google Authenticator

oathtool --totp --base32 {{密码}}

  • 根据给定时间产生特定的 TOTP 令牌:

oathtool --totp --now {{2004-02-29 16:21:42}} --base32 {{密码}}

  • 验证 TOTP 令牌:

oathtool --totp --base32 {{密码}} {{令牌}}