Skip to content

Releases: awnumar/memguard

v0.13.0

21 Oct 00:24
Compare
Choose a tag to compare

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

13 Aug 19:24
Compare
Choose a tag to compare
  • 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

08 Aug 12:32
Compare
Choose a tag to compare
  • Protect the global canary variable.
  • Copy canary in constant time.
  • Simplify mutexes.

v0.10.0

04 Jul 18:39
Compare
Choose a tag to compare
  • Use the stdlib instead of vendoring winapi. (#24)

v0.9.0

02 Jul 00:29
Compare
Choose a tag to compare
  • Make metadata values read-only, reducing undefined behaviour in the long-term.
  • Update local vendored dependencies.

v0.8.0

01 Jul 23:48
Compare
Choose a tag to compare
  • Patch bug where memguard would panic when copying under certain conditions. (#21)

v0.7.2

06 Jun 19:02
Compare
Choose a tag to compare
  • Fixed issues with capitalised import path.
  • Updated URL to reflect changes. (Last time, promise.)

v0.7.1

05 Jun 18:48
Compare
Choose a tag to compare
  • Update dependencies.
  • Update URLs to reflect new project URL.
  • Some internal optimisations.

v0.7.0

04 Jun 18:36
Compare
Choose a tag to compare
  • Added a Concatenate function for joining two LockedBuffers.

v0.6.0

04 Jun 17:57
Compare
Choose a tag to compare
  • Add functions for getting cryptographically-secure pseudo-random bytes.