v3.1.1
This is a very quick, unpolished hotfix release due to the severity of issue #40 (explained below), which was reported via email yesterday. I have exams starting within the next few weeks, so no more releases are planned until afterwards in the summer, and there will probably be few code updates until then.
Fixed
- Files with a certain length would accidentally have the last 16,384 byte chunk removed during decryption due to a mathematical mistake that wasn't detected during any of my testing because of the file sizes of my test files. I'm extremely sorry for any trouble this causes. It's rather crushing as a maintainer when something like this happens, but I would like to again thank the person who reported this issue.
- Chocolatey installs hopefully won't have a
vcruntime140.dll
extraction error anymore. I'm also working on adding the package equivalent of this file as a dependency.
Changed
- Encrypted files are no longer deleted by default when decrypting. The
-o|--overwrite
option now needs to be specified to do this. - Illegal characters from file/directory names are now rejected with an error rather than being silently removed. As this was taken from a v4 commit, with v4 encrypting directories differently, this change won't work with subdirectories.
- 'Decrypting private key...' is displayed instead of 'Deriving encryption key from password...' for private key decryption to avoid confusion.
- The dependencies and
vcruntime140.dll
files have been updated.
Added
- A message saying to back up the private key file when generating a new key pair.
- A message saying to back up the keyfile when generating a random keyfile.
- Publish profiles for Linux ARM64 and macOS ARM64 to build from source more easily. Builds for these platforms may be included in releases for v4 onwards.