Make encrypted book deletion more reliable #20
Reference in New Issue
Block a user
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?
One problem with encrypted books is that encrypted versions of each book must be stored to disk, and files are currently blocking new encryptions for the same book. When the decrypt command is used, the relevant file is deleted from the disk, but what if copies were made in the meantime? Really, there should be a tracking system counting the number of instances of an encrypted book, accounting for stack size and plugin-based and vanilla book copying. Or perhaps it shouldn't be possible to copy an encrypted book?
In any case, there should be a better way to track and delete encrypted books, ensuring the server owner won't need to manually delete books all the time. There might need to be an id for encrypted books to differentiate books with the same title and different passwords.