diff options
author | Adrien Bustany <adrien@bustany.org> | 2022-08-20 23:52:48 +0200 |
---|---|---|
committer | Adrien Bustany <adrien@bustany.org> | 2022-08-20 23:52:48 +0200 |
commit | f31d2ccea45b0fb2ca6e1932edc324a832673311 (patch) | |
tree | eaab7bae7541511047e6a0831901dcc2add4998f /main.go | |
parent | Initial release (diff) | |
download | lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar.gz lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar.bz2 lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar.lz lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar.xz lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.tar.zst lcp-decrypt-f31d2ccea45b0fb2ca6e1932edc324a832673311.zip |
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ func getContentKey(epubRoot fs.FS, userKey []byte) ([]byte, error) { keyCheck, err := decipher(encryptedKeyCheck, userKey) if err != nil { - return nil, fmt.Errorf("error decrypting key check") + return nil, fmt.Errorf("error decrypting key check: %w", err) } if string(keyCheck) != license.ID { |