• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yitsushi / totp-cli / 13551448062
56%
master: 20%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 26 Feb 2025 07:05PM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Feb 2025 07:04PM UTC coverage: 28.409% (-1.8%) from 30.181%
13551448062

push

github

web-flow
feat: add sha256 and sha512 support (#135)

* feat: add sha256 and sha512 support

As the original implementation followed only RFC-4226, it had only SHA1
support. This covers a lot of tokens, but secure tokens are not SHA1, but
SHA2 based as described in RFC-6238.

Until now, I though only hardware tokens use SHA2 (SHA256, SHA512) and
maybe some edge cases, but not common. That was probably true almost 10
years ago when I originally created this tool. Today, even tho I didn't
see 256 or 512 tokens yet, I think it's more common, and soon they will
be used in a lot of places.

Resolves #133

References:
- https://github.com/yitsushi/totp-cli/issues/133
- https://www.ietf.org/rfc/rfc4226.txt
- https://www.ietf.org/rfc/rfc6238.txt

Signed-off-by: Victoria Nadasdi <victoria@efertone.me>

2 of 124 new or added lines in 13 files covered. (1.61%)

3 existing lines in 1 file now uncovered.

300 of 1056 relevant lines covered (28.41%)

2.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13551448062.1 26 Feb 2025 07:05PM UTC 0
28.41
GitHub Action Run
Source Files on build 13551448062
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #13551448062
  • 28337f38 on github
  • Prev Build on main (#13550145801)
  • Next Build on main (#13553954774)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc