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

umputun / tg-spam / 32313469587
84%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 11:35PM UTC
Jobs 1
Files 43
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

19 Aug 2026 11:29PM UTC coverage: 83.848% (+0.06%) from 83.787%
32313469587

push

github

umputun
fix(examples): issue unguessable session ids in simplechat

The session id was base64 of the user name and the session map only recorded
that the id existed, so once a user had logged in anyone could compute their
cookie and post as them until the process restarted; postMessageHandler then
took the author straight from the decoded cookie value. Generate the id from
crypto/rand, map it to the user name server side, and resolve the author from
that map. Passwords are compared in constant time.

The example stays a toy: sessions still have no expiry, credentials are still
plain text in main.go, and the README and the Server doc comment now say so
outright rather than leaving the reader to assume this is a pattern worth
copying.

9007 of 10742 relevant lines covered (83.85%)

237.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
173
55.58
-0.12% app/main.go
41
69.23
0.28% app/storage/dictionary.go
14
95.75
0.0% app/webapi/config.go
Jobs
ID Job ID Ran Files Coverage
1 32313469587.1 19 Aug 2026 11:35PM UTC 43
83.85
GitHub Action Run
Source Files on build 32313469587
  • Tree
  • List 43
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d37cd741 on github
  • Prev Build on master (#32313458450)
  • Next Build on master (#32313463989)
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