Expand description
Per-scheme DRM removal. Each module combines a parsed container
(flamberge-formats), candidate keys (flamberge-keys), and ciphers
(flamberge-crypto) to produce a decrypted book.
Reference: docs/DEDRM_SCHEMES.md.
Re-exports§
pub use error::SchemeError;
Modules§
- adept
- Adobe ADEPT DRM removal (EPUB + PDF).
- ereader
- eReader / Palm (
.pdb) DRM removal. - error
- ignoble
- Barnes & Noble (“ignoble”) DRM removal (EPUB + PDF).
- kfx
- KFX / KDF DRM removal via Amazon ION.
- kobo
- Kobo (KEPUB) DRM removal.
- mobipocket
- Mobipocket (MOBI/AZW/PRC) DRM removal.
- topaz
- Topaz (TPZ) DRM removal.
Structs§
- Decrypted
Book - A decrypted book ready to be written out.
- KeyStore
- All candidate keys gathered for a decryption attempt. Schemes brute-force the relevant bucket against the book. Mirrors the plugin’s prefs buckets.
Enums§
- Scheme
- The DRM schemes this tool can (eventually) remove.
Functions§
- candidates_
for_ extension - Candidate schemes to try for a given file extension, in priority order. Kindle-family files disambiguate further by magic inside the handler.
- decrypt
- Decrypt
inputgiven its file extension and a key store, trying each candidate scheme until one succeeds. - kindle_
scheme_ from_ magic - Refine a Kindle-family choice by container magic (see
k4mobidedrm.py::GetDecryptedBook).