Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-27 00:18:38 +00:00
parent 5871f35fe8
commit 9fe6559a97
123 changed files with 660 additions and 357 deletions

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Generate TOTP token (behaves like Google Authenticator):
`oathtool --totp --base32 "{{secret}}"`
`oathtool --totp {{[-b|--base32]}} "{{secret}}"`
- Generate a TOTP token for a specific time:
`oathtool --totp --now "{{2004-02-29 16:21:42}}" --base32 "{{secret}}"`
`oathtool --totp {{[-N|--now]}} "{{2004-02-29 16:21:42}}" {{[-b|--base32]}} "{{secret}}"`
- Validate a TOTP token:
`oathtool --totp --base32 "{{secret}}" "{{token}}"`
`oathtool --totp {{[-b|--base32]}} "{{secret}}" "{{token}}"`