Skip to content

verify_sources fails on extra supplied ids instead of ignoring them #21

Description

@royalpinto007

Problem

A caller passing a superset of contents (e.g. whole-KB dump) gets INVALID even when every receipt source matches: unknown ids are appended to mismatched.

Where

src/answerproof/verifier.py (verify_sources: unknown ids fail the check).

Acceptance

Add a failing test first with all receipt sources matching plus one extra id, expecting sources: passed. Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions