Releases: awnumar/memguard
Releases · awnumar/memguard
v0.13.0
A big one this time.
- Split
New...
functions into immutable and mutable counterparts.
- Replaced the
WipeBytes
function with a Wipe
method.
- Added a
Size
method that returns the total size, in bytes, of a secure buffer.
- Rename
EqualTo => EqualBytes
.
- Rename
ErrReadOnly => ErrImmutable
.
- Replace
IsReadOnly => IsMutable
.
- Patched a potential leak of the canary value.
- Use
Immutable/Mutable
-style nomenclature instead of ReadOnly/ReadWrite
.
- Remove execute permissions from the memory we allocate for LockedBuffers.
- Update upstream dependencies.
- Minor updates and optimisations.
v0.12.0
- Replace the
.Buffer
field with a .Buffer()
method.
- Remove the
LockedBuffers()
function.
- Use finalisers to prevent memory leaks. We harness the GC to destroy undestroyed LockedBuffers for us automatically.
- Other minor optimisations.
v0.11.0
- Protect the global canary variable.
- Copy canary in constant time.
- Simplify mutexes.
v0.10.0
- Use the stdlib instead of vendoring winapi. (#24)
v0.9.0
- Make metadata values read-only, reducing undefined behaviour in the long-term.
- Update local vendored dependencies.
v0.8.0
- Patch bug where memguard would panic when copying under certain conditions. (#21)
v0.7.2
- Fixed issues with capitalised import path.
- Updated URL to reflect changes. (Last time, promise.)
v0.7.1
- Update dependencies.
- Update URLs to reflect new project URL.
- Some internal optimisations.
v0.7.0
- Added a Concatenate function for joining two LockedBuffers.
v0.6.0
- Add functions for getting cryptographically-secure pseudo-random bytes.