From ac2ef9d1b392a61ef60234fbd6f1ceef13c5973a Mon Sep 17 00:00:00 2001 From: Pere Lev Date: Thu, 14 Mar 2024 21:58:07 +0200 Subject: [PATCH] S2S: Temporarily disable integrity proof verification There's a bug in it, I want to make progress with the ongoing funded tasks and fix the bug after that. --- src/Vervis/Federation/Auth.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Vervis/Federation/Auth.hs b/src/Vervis/Federation/Auth.hs index 7e54de8..3f505f4 100644 --- a/src/Vervis/Federation/Auth.hs +++ b/src/Vervis/Federation/Auth.hs @@ -471,10 +471,12 @@ authenticateActivity now = do pure $ ActivityAuthRemote ra -- Verify FEP-8b32 jcs-eddsa-2022 VC data integrity proof + {- for_ (AP.activityProof activity) $ \ proof -> do hl <- hostIsLocalOld hActivity unless hl $ verifyIntegrityProof raw hActivity (activityActor activity) proof + -} return (auth, ActivityBody body raw activity) where