Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

OMEMO - Timing Side-Channel in HMAC ComparisonΒ #646

Open
@soatok

Description

@soatok

Originally disclosed here.

if (messageAuthenticationCode != expectedMessageAuthenticationCode) {

Explainers:

  1. https://soatok.blog/2020/08/27/soatoks-guide-to-side-channel-attacks/
  2. https://security.stackexchange.com/a/74552

This defect is a problem with the OMEMO specification. It should have called out the specific steps that implementors follow to prevent this sort of side-channel attack.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions