Sha256: a385fc9ea3514f998a42985c94486d43d94a3f20fae586287a6befd36302ce69

Contents?: true

Size: 758 Bytes

Versions: 24

Compression:

Stored size: 758 Bytes

Contents

## HTTP Public Key Pins

Be aware that pinning error reporting is governed by the same rules as everything else. If you have a pinning failure that tries to report back to the same origin, by definition this will not work.

```ruby
config.hpkp = {
  max_age: 60.days.to_i,    # max_age is a required parameter
  include_subdomains: true, # whether or not to apply pins to subdomains
  # Per the spec, SHA256 hashes are the only currently supported format.
  pins: [
    {sha256: 'b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c'},
    {sha256: '73a2c64f9545172c1195efb6616ca5f7afd1df6f245407cafb90de3998a1c97f'}
  ],
  report_only: true,        # defaults to false (report-only mode)
  report_uri: 'https://report-uri.io/example-hpkp'
}
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
secure_headers-3.9.0 docs/HPKP.md
secure_headers-3.8.0 docs/HPKP.md
secure_headers-3.7.4 docs/HPKP.md
secure_headers-4.0.2 docs/HPKP.md
secure_headers-3.7.3 docs/HPKP.md
secure_headers-5.0.1 docs/HPKP.md
secure_headers-5.0.0.alpha01 docs/HPKP.md
secure_headers-3.7.2 docs/HPKP.md
secure_headers-4.0.1 docs/HPKP.md
secure_headers-4.0.0 docs/HPKP.md
secure_headers-4.0.0.alpha04 docs/HPKP.md
secure_headers-3.7.1 docs/HPKP.md
secure_headers-3.7.0 docs/HPKP.md
secure_headers-4.0.0.alpha03 docs/HPKP.md
secure_headers-4.0.0.alpha02 docs/HPKP.md
secure_headers-4.0.0.alpha01 docs/HPKP.md
secure_headers-3.6.7 docs/HPKP.md
secure_headers-3.6.6 docs/HPKP.md
secure_headers-3.6.5 docs/HPKP.md
secure_headers-3.6.4 docs/HPKP.md