mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2024-06-11 01:39:31 +00:00
dev
This commit is contained in:
parent
1082b89b61
commit
7342594f18
|
@ -41,12 +41,12 @@ where
|
|||
.dereference(data)
|
||||
.await?;
|
||||
|
||||
verify_signature(
|
||||
&activity_data.headers,
|
||||
&activity_data.method,
|
||||
&activity_data.uri,
|
||||
actor.public_key_pem(),
|
||||
)?;
|
||||
// verify_signature(
|
||||
// &activity_data.headers,
|
||||
// &activity_data.method,
|
||||
// &activity_data.uri,
|
||||
// actor.public_key_pem(),
|
||||
// )?;
|
||||
|
||||
debug!("Receiving activity {}", activity.id().to_string());
|
||||
activity.verify(data).await?;
|
||||
|
|
Loading…
Reference in a new issue