Closed Jakeii closed 8 years ago
Milestone: encrypted content is checked into the repo as of e4340c34478a6255d2b4dd28df5c1bbe3f4eddaa in the book branch.
Content can be encrypted with a command like
# Prompts for passphrase, then prints encrypted content to stdout
openssl enc -aes256 -a -in SectionXX.html
HTML should be generated by making manual tweaks as needed in gdocs, then downloading as HTML and running the process_html-3.py
script on it.
Reasonable handling of the key for unencryption via cordova remains TODO.
closing in favour of #41
We'll need to choose an algorithm, encrypt the book pages/html files and store the Key using something like: https://github.com/Crypho/cordova-plugin-secure-storage
We'll also need a tool to encrypt the book before adding it to the app.