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

TykTechnologies / tyk / 6374
62%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 14 Mar 2019 08:26PM UTC
Jobs 1
Files 0
Run time –
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

pending completion
6374

push

travis-ci

buger
Custom signature validation (#2171)

#2045

`auth` section now has new `validate_signature` boolean field, and `signature` section for configuring signature flow.

Currently supports mashery signature validation modes `MasherySHA256`
and `MasheryMD5`.

```json
"auth": {
  "validate_signature": true,
  "signature": {
    "algorithm": "MasherySHA256",
    "header": "X-Signature",
    "secret": "secret",
    "allowed_clock_skew": 2
  }
}
```

"secret" field can hold dynamic values from meta or context, for example: "$tyk_meta.signature_secret".

Additionally, you can override error code and message using:
```
  "error_code": 403,
  "error_message": "your signature is invalid"
```

Benchmarks:

```
BenchmarkMasherySha256Sum_Hash-4          500000              2094 ns/op
208 B/op          4 allocs/op
```
Jobs
ID Job ID Ran Files Coverage
1 6374.1 (LATEST_GO=true) 14 Mar 2019 08:26PM UTC 0
Travis Job 6374.1
Source Files on build 6374
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6374
  • 35618550 on github
  • Prev Build on release-2.8 (#6364)
  • Next Build on release-2.8 (#6386)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc