Skip to content

Commit

Permalink
move JWK encoding of removal keys to API v7 (#4207)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanwire authored Aug 13, 2024
1 parent 6fab2ff commit f624ffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libs/wire-api/src/Wire/API/Routes/Public/Galley/MLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ type MLSMessagingAPI =
:> MultiVerb1 'POST '[JSON] (Respond 201 "Commit accepted and forwarded" MLSMessageSendingStatus)
)
:<|> Named
"mls-public-keys-v5"
"mls-public-keys-v6"
( Summary "Get public keys used by the backend to sign external proposals"
:> From 'V5
:> Until 'V6
:> Until 'V7
:> CanThrow 'MLSNotEnabled
:> "public-keys"
:> ZLocalUser
Expand All @@ -122,7 +122,7 @@ type MLSMessagingAPI =
:<|> Named
"mls-public-keys"
( Summary "Get public keys used by the backend to sign external proposals"
:> From 'V6
:> From 'V7
:> CanThrow 'MLSNotEnabled
:> "public-keys"
:> ZLocalUser
Expand Down
2 changes: 1 addition & 1 deletion services/galley/src/Galley/API/Public/MLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ mlsAPI :: API MLSAPI GalleyEffects
mlsAPI =
mkNamedAPI @"mls-message" (callsFed (exposeAnnotations postMLSMessageFromLocalUser))
<@> mkNamedAPI @"mls-commit-bundle" (callsFed (exposeAnnotations postMLSCommitBundleFromLocalUser))
<@> mkNamedAPI @"mls-public-keys-v5" getMLSPublicKeys
<@> mkNamedAPI @"mls-public-keys-v6" getMLSPublicKeys
<@> mkNamedAPI @"mls-public-keys" getMLSPublicKeysJWK

0 comments on commit f624ffa

Please sign in to comment.