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

TykTechnologies / tyk / 6373 / 2

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2019 08:29PM UTC
Files 110
Run time 8s
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

14 Mar 2019 08:20PM UTC coverage: 62.376% (+0.05%) from 62.329%
LATEST_GO=true

push

travis-ci

web-flow
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
```

10579 of 16960 relevant lines covered (62.38%)

0.7 hits per line

Source Files on job 6373.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5827
  • Travis Job 6373.2
  • 241fd01d on github
  • Prev Job for LATEST_GO=true on master (#6366.2)
  • Next Job for LATEST_GO=true on master (#6385.2)
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