Encryption and decryption is a joke #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: EpicKnarvik97/Books-Without-Borders#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Basically, right now, decryption is fake. Books are stored as plaintext files with the password used as part of the filename, and then the books' text is scrambled.
This basically means that the encryption process itself is unnecessary as the only thing it does is scramble the contents of the book, and could just as well be replaced with filling the book with randomness.
If possible, the book should be properly encrypted and decrypted, with the password stored in a file if adminDecrypt is enabled. Perhaps use a proper encryption algorithm, but that might break compatibility with existing books.