-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epub provides no authenticity or integrity checks #2265
Comments
The issue was discussed in a meeting on 2022-05-26
View the transcript1.3. Authenticity and Integrity checks.See github issue epub-specs#2265. Dave Cramer: we did add a section about this in the previously approved PR 2297. Brady Duga: an attacker could just re-sign the epub with their own signature. RS can't know what signature should be. Dave Cramer: so should we just note that we have a signature capability, but given the nature of epub it is tough to ascertain a chain of trust even though it is possible on the web?. Brady Duga: the PR itself looks fine. Wendy Reid: yes. |
I think the PR correctly notes the threat in the threat model now, which was the short term need. 🙏🏻 Is there a way to track issues for the longer term, even if they won't be resolved in this version? Integrity and authenticity are important security characteristics and it seems like existing XML signature functionality isn't providing much (since it doesn't describe who signed it, and it can be trivially downgraded). |
Is there a way to track issues for the longer term, even if they won't be resolved in this version? Integrity and authenticity are important security characteristics and it seems like existing XML signature functionality isn't providing much (since it doesn't describe who signed it, and it can be trivially downgraded). |
We have a 'status-deferred' label and we do keep some issues open with this label: We could use that if you prefer (@dauwhe @wareid @shiestyle ?) |
The issue was discussed in a meeting on 2022-07-21
View the transcript2. Content Signing and Theft.Brady Duga: not 100% clear what this topic meant. I don't think we really mean 'theft' here, its probably not accurate. Assuming that this is just about content signing, does anyone have comments?. Shinya Takami (高見真也): at the last Publishing group meeting, the issue was raised that with DRM being imperfect, we may want to think about digital signing to authenticate content.
Brady Duga: i'm interested in content signing for purposes of verifying the publishers, so users can tell provenance of content. I'm wary about addressing the topic of piracy. Shinya Takami (高見真也): the link above is a summary of our discussion of this topic 2-3 weeks ago. Matt Garrish: I think this also came up through npd. #2265 was about an authenticity check. See github issue epub-specs#2265. Brady Duga: right, using signing to determine if the claimed author of epub is actually who they say they are. |
In the short term, the threat model should note the possibility that epub files are altered between the author and the reader, or that a book is distributed claiming to be the authentic work of someone else but with no feasible way to verify it.
In the long term, epub should use package-wide signatures (or some other mechanism) to provide at least the option for authenticity and integrity via PKI.
The text was updated successfully, but these errors were encountered: