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-master.tar lcp-decrypt-master.tar.gz lcp-decrypt-master.tar.bz2 lcp-decrypt-master.tar.lz lcp-decrypt-master.tar.xz lcp-decrypt-master.tar.zst lcp-decrypt-master.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 { |