1.0.2
🐛 This is an important bug fix release that you should update to if you are suffering from bugs with in-memory authentication. This also enhances Redis authentication.
- Fixed a deadlock in
/logout
that would break authentication entirely after calling the endpoint when using memory authentication. - Prefix tokens stored in Redis with
octyne-token:
prefix. - Validate token length/encoding before checking with Redis/map to save time.
Patches
- Add prefix to Redis tokens. Allows the Redis database to be used for multiple purposes: 609998d
- Validate token, change Redis prefix. Also silence Deepsource issues: 0e7ee61
- Use Ubuntu 18.04 LTS for Actions, fix in-mem auth. Fix a really interesting accidental deadlock. Store tokens in a map instead of array that doesn't fit the purpose: 3b0f7f9
x86_64 binaries for Windows, macOS and Linux (built on Ubuntu 16.04) are provided, as well as a 32-bit ARMv6 Linux build (built on Raspbian 10 Buster), but octyne can also be compiled for other architectures like 64-bit ARMv8, s390x, PowerPC and i386. It should also work on other Unix-like OSes supported by Golang (untested, but if you run into issues, let me know!).