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

sgerrand / ex_bamboo_hr / 35246686116
100%

Build:
DEFAULT BRANCH: main
Ran 17 Sep 2026 04:27PM UTC
Jobs 1
Files 15
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

17 Sep 2026 04:27PM UTC coverage: 100.0%. Remained the same
35246686116

push

github

web-flow
feat(webhooks): add verify_signature/4 for incoming deliveries (#110)

BambooHR signs each webhook delivery with the webhook's private key and
sends X-BambooHR-Signature and X-BambooHR-Timestamp. Without a helper,
every caller has to reimplement the check, and getting it wrong means
accepting forged payloads.

The scheme is HMAC-SHA256 over the raw body concatenated with the
timestamp, body first and no separator, as lowercase hex. It is not in
the OpenAPI spec; it comes from the PHP sample in BambooHR's webhook
documentation. Some third-party guides describe a Stripe-style
"timestamp.body" string, which does not match BambooHR, so the test
fixture is generated with Python's hmac rather than by calling this
implementation.

Comparison uses :crypto.hash_equals/2, with a length check first because
it requires equal-sized binaries. Non-binary arguments, such as a header
missing from the request, return false rather than raising.

5 of 5 new or added lines in 1 file covered. (100.0%)

193 of 193 relevant lines covered (100.0%)

39.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35246686116.1 17 Sep 2026 04:27PM UTC 15
100.0
GitHub Action Run
Source Files on build 35246686116
  • Tree
  • List 15
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35246686116
  • 2c32de4b on github
  • Prev Build on main (#35246518032)
  • Next Build on main (#35247752757)
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