Open
Description
When I download an LCP file using Thorium, I get a license.lcpl
file and an encrypted ePub.
The license contains:
"user_key": {
"algorithm": "http://www.w3.org/2001/04/xmlenc#sha256",
"text_hint": "Account Username",
"key_check": "abc123=="
}
If I use
./lcp-decrypt -userKey example book.epub decode.epub
I get error decrypting file: error decoding user key: encoding/hex: invalid byte: U+0078 'x'
If I hex encode the userKey, I get invalid key size
.
If I SHA256 encode my username, I get error getting content key: error decrypting key check: invalid padding length 144 (data length is 48)
Any thoughts on what the correct key would be?
Metadata
Metadata
Assignees
Labels
No labels
Activity