Skip to content

Commit

Permalink
tmp disable beacon payload verification (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck authored Feb 23, 2023
1 parent 865b109 commit 99edbd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iot_verifier/src/poc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ fn verify_beacon_payload(
"beacon construction verification failed, pubkey {:?}",
beacon_report.pub_key,
);
return Err(InvalidReason::InvalidPacket);
return Ok(());
}
Ok(())
}
Expand Down Expand Up @@ -1223,7 +1223,8 @@ mod tests {
beacon_interval,
beacon_interval_tolerance,
);
assert_eq!(Err(InvalidReason::InvalidPacket), resp5);
// assert_eq!(Err(InvalidReason::InvalidPacket), resp5);
assert_eq!(Ok(()), resp5);

// for completeness, confirm our valid beacon report is sane
let beacon_report6 = valid_beacon_report(entropy_start + Duration::minutes(2));
Expand Down

0 comments on commit 99edbd2

Please sign in to comment.