-
Notifications
You must be signed in to change notification settings - Fork 23
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
encrypted compression "none" vs "store" #22
Comments
Typescript: if (prop.Compression.Method === "8") {
encrypted.Compression = "deflate";
} else {
encrypted.Compression = "none";
} |
Go: if prop.Compression.Method == "8" {
encrypted.Compression = "deflate"
} else {
encrypted.Compression = "none"
} |
Kotlin: encryption.compression = if (method == "8") "deflate" else "none" |
Swift: encryption.compression = (method == "8" ? "deflate" : "none") |
OK, I'm fine using How far do we want to go though in the JSON Schema? Should we limit this value to an enum with only |
I think this is safe for now.
|
It's safe for EPUB but we might need to support other packaging formats in the future. |
https://github.com/readium/webpub-manifest/blob/master/extensions/epub.md#encrypted
The current Readium2 TypeScript / NodeJS implementation uses "none", not "store".
Update: Kotlin, Swift and Go too.
The text was updated successfully, but these errors were encountered: