-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor NewIdP; clarify dsig cert confusion.
- NewIdP type is less redundant now. - update `/services/integration.yaml` to account for changes in NewIdP type. - update C* schema to allow for more than one dsig cert for authentication response signing. (at least azure does this, and there is no way of knowing which certs will be used, so we need to try all of them.) (`frozen<blob>` was rejected by C*; `blob` only caused runtime errors; `list<blob>` works fine, at least for the tests I have.) - update validateNewIdP to account for the above changes. - mock idp now responds with fresh issuer name on every /meta request. - Cleanup - haddocks - remove test case that is no longer valid (cert list for signing authn responses should not contain the cert for signing metadata)
- Loading branch information
Showing
13 changed files
with
149 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE QuasiQuotes #-} | ||
|
||
module V2 (migration) where | ||
|
||
import Cassandra.Schema | ||
import Control.Monad (void) | ||
import Text.RawString.QQ | ||
|
||
migration :: Migration | ||
migration = Migration 2 "Add extra idp keys set" $ do | ||
|
||
void $ schema' [r| ALTER TABLE idp ADD extra_public_keys list<blob>; |] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.