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

decentraland / notifications-workers
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: 3.12.2
DEFAULT BRANCH: main
Repo Added 22 Oct 2024 05:44PM UTC
Token kPR3Od5bwvnaOiLSQWSj3rgEbRtrBa9Ou regen
Build 144 Last
Files 52
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

LAST BUILD ON BRANCH 3.12.2
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 1.1.0
  • 1.2.0
  • 1.4.0
  • 1.5.0
  • 1.6.0
  • 1.7.0
  • 2.0.0
  • 2.1.0
  • 2.1.1
  • 2.2.0
  • 2.2.1
  • 2.2.2
  • 2.3.0
  • 3.0.0
  • 3.1.0
  • 3.12.0
  • 3.12.1
  • 3.12.2
  • chore/coveralls-configuration
  • dependabot/npm_and_yarn/well-known-components/pg-component-1.1.0
  • feat/add-email-validation-failed-event
  • feat/allow-one-single-email-per-wallet
  • feat/communities-notifications
  • feat/credits-email-confirmation
  • feat/credits-emails
  • feat/credits-notification
  • feat/credits-reminder-usage-enhance
  • feat/email-domains-blacklist
  • feat/endpoint-to-send-email
  • feat/event-created-notification
  • feat/long-polling-sqs
  • feat/poc-real-time
  • feat/referral-notification
  • feat/retrieve-user-email
  • feat/social-service-notifications
  • feat/social-service-notifications-with-new-props
  • feat/streaming
  • feat/streaming-image
  • feat/turnstile
  • feat/update-mail-templates
  • feat/update-referral-metadata
  • feat/update-schemas
  • fix/accept-legacy-signed-payload
  • fix/community-deleted-event-parsing
  • fix/credits-usage-emails
  • fix/credits-usage-reminder-email
  • fix/crypto-middleware-6
  • fix/crypto-middleware-6.3
  • fix/domain-allowlist
  • fix/email-encoding-typo
  • fix/ff-blacklist-domain-name
  • fix/notifications-canonical-signer-validation
  • fix/typo
  • main

25 Aug 2026 08:06PM UTC coverage: 80.402%. Remained the same
33279967354

push

github

web-flow
fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 (#186)

* fix(auth): upgrade @dcl/crypto-middleware to 6.3.0

`rejectIfSigner` reads the exact `signer` key, so metadata delivering
`{"Signer":"decentraland-kernel-scene"}` presented no `signer` field at
all and the gate read it as absent -- answering "allowed" for a request
that visibly names the signer the gate exists to refuse.

This is reachable on the strict, current-format path. Since 6.0.0 the
metadata bytes are signed as delivered, so re-spelling the key changes
the signed bytes -- but a scene-driven client can simply sign it that
way, and the signature then verifies. The routes on the strict
middleware declare no `canonicalMetadataKeys`, so nothing else was
catching it there.

6.3.0 adds a `hasFoldedVariant` guard to `canonicalField` and
`requireCanonicalField`: a key that case-folds to the declared field
without being spelled exactly that is a rejection, not an absence.

The caret range already allowed 6.3.0, so the lockfile refresh is the
load-bearing part -- the range bump only makes the intent explicit.

* test: reuse the shared signed-fetch helpers from @dcl/test-helpers

The local getIdentity/getAuthHeaders in inbox/test/utils.ts were a hand-rolled
copy of the ADR-44 signing that @dcl/test-helpers already provides. Bump the
package to ^0.3.2 — the first release whose getAuthHeaders signs the unfolded
6.x payload rather than the pre-6.0.0 folded one — and re-export its helpers so
the payload format lives in one place that stays in step with
@dcl/crypto-middleware.

makeRequest now calls getSignedAuthHeaders instead of repeating the signPayload
boilerplate. getIdentityFromPrivateKey is kept: it has no shared equivalent.

All three workspaces are bumped together so the monorepo resolves a single
test-helpers. common and processor only use createRunner and
createLocalFetchComponent, whose public surface is unchanged in 0.3.x. Doing
them together also drops the stale nested @dcl/crypto-middl... (continued)

239 of 377 branches covered (63.4%)

Branch coverage included in aggregate %.

881 of 1016 relevant lines covered (86.71%)

20.73 hits per line

Relevant lines Covered
Build:
Build:
1016 RELEVANT LINES 881 COVERED LINES
20.73 HITS PER LINE
Source Files on main
  • Tree
  • List 52
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33279967354 3.12.2 fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 (#186) * fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 `rejectIfSigner` reads the exact `signer` key, so metadata delivering `{"Signer":"decentraland-kernel-scene"}` presented no `signer` f... push 29 Aug 2026 11:02PM UTC web-flow github
80.4
32893458379 main fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 (#186) * fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 `rejectIfSigner` reads the exact `signer` key, so metadata delivering `{"Signer":"decentraland-kernel-scene"}` presented no `signer` f... push 25 Aug 2026 08:08PM UTC web-flow github
80.4
32893167923 fix/crypto-middleware-6.3 test: reuse the shared signed-fetch helpers from @dcl/test-helpers The local getIdentity/getAuthHeaders in inbox/test/utils.ts were a hand-rolled copy of the ADR-44 signing that @dcl/test-helpers already provides. Bump the package to ^0.3.2 — the... Pull #186 25 Aug 2026 08:05PM UTC LautaroPetaccio github
80.4
32886960948 fix/crypto-middleware-6.3 fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 `rejectIfSigner` reads the exact `signer` key, so metadata delivering `{"Signer":"decentraland-kernel-scene"}` presented no `signer` field at all and the gate read it as absent -- answering "allo... Pull #186 25 Aug 2026 07:00PM UTC LautaroPetaccio github
80.4
32884045975 fix/crypto-middleware-6.3 fix(auth): upgrade @dcl/crypto-middleware to 6.3.0 `rejectIfSigner` reads the exact `signer` key, so metadata delivering `{"Signer":"decentraland-kernel-scene"}` presented no `signer` field at all and the gate read it as absent -- answering "allo... Pull #186 25 Aug 2026 06:30PM UTC LautaroPetaccio github
80.4
32870727277 3.12.1 fix(auth): accept the pre-6.0.0 signed payload (#185) * fix(auth): accept the pre-6.0.0 signed payload Upgrading to crypto-middleware 6 made this service verify the metadata bytes as delivered. Every current caller still signs the folded payload... push 25 Aug 2026 04:15PM UTC web-flow github
80.4
32869817248 main fix(auth): accept the pre-6.0.0 signed payload (#185) * fix(auth): accept the pre-6.0.0 signed payload Upgrading to crypto-middleware 6 made this service verify the metadata bytes as delivered. Every current caller still signs the folded payload... push 25 Aug 2026 04:06PM UTC web-flow github
80.4
32861356087 fix/accept-legacy-signed-payload refactor(auth): scope the legacy payload fallback to the read route The declared key list was on the single shared middleware instance, so it relaxed every signed route in the service. Only one of them needs it. Checking what each caller actuall... Pull #185 25 Aug 2026 02:45PM UTC LautaroPetaccio github
80.4
32855999150 fix/accept-legacy-signed-payload fix(auth): accept the pre-6.0.0 signed payload Upgrading to crypto-middleware 6 made this service verify the metadata bytes as delivered. Every current caller still signs the folded payload -- the whole joined string lowercased -- while sending t... Pull #185 25 Aug 2026 01:53PM UTC LautaroPetaccio github
80.36
32369365562 main fix(auth): upgrade @dcl/crypto-middleware to 6.2 (#184) 6.0.0 changed the signed payload: the method, path and timestamp are lowercased and the metadata is then joined verbatim, instead of folding the whole joined string. The old fold left metada... push 20 Aug 2026 12:33PM UTC web-flow github
80.35
See All Builds (144)

Badge your Repo: notifications-workers

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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