STIR/SHAKEN: Option split and response codes.

The stir_shaken configuration option now has 4 different choices to pick
from: off, attest, verify, and on. Off and on behave the same way they
do now. Attest will only perform attestation on the endpoint, and verify
will only perform verification on the endpoint.

Certain responses are required to be sent based on certain conditions
for STIR/SHAKEN. For example, if we get a Date header that is outside of
the time range that is considered valid, a 403 Stale Date response
should be sent. This and several other responses have been added.

Change-Id: I4ac1ecf652cd0e336006b0ca638dc826b5b1ebf7
This commit is contained in:
Ben Ford
2021-09-21 12:09:10 -05:00
committed by Friendly Automation
parent 56ecf7005b
commit 1031a1805b
7 changed files with 420 additions and 114 deletions

View File

@@ -0,0 +1,7 @@
Subject: STIR/SHAKEN
The STIR/SHAKEN configuration option has been split into
4 different choices: off, attest, verify, and on. Off and
on behave the same way as before. Attest will only perform
attestation on the endpoint, and verify will only perform
verification on the endpoint.