`ReadiumLCP` should check the `hash` of an acquired publication

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mickael-menu is already working on this.

Since Jul 17, 2026.

  • #867 by @mickael-menu — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
swift
Domain
security

Research direction

Start by locating the publication-acquisition flow in ReadiumLCP and read the linked LCP specification section on acquiring the publication. Check how the supplied hash is represented and where downloaded publication data can be verified; done means integrity is checked when a hash is provided.

Written by the indexing model from the issue text.

Description

According to the LCP specification:

Reading Systems should verify the integrity of the downloaded Protected Publication, if a hash is provided.
https://readium.org/lcp-specs/releases/lcp/latest.html#acquiring-the-publication

Related: https://github.com/readium/lcp-specs/issues/52

Dominant language
Swift
Stars
557
Forks
249
Avg merge
3h 52m
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from readium/swift-toolkit

All issues in readium/swift-toolkit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.