Skip to content

Releases: awnumar/memguard

v0.19.0

06 Aug 10:45
e8bd095
Compare
Choose a tag to compare
  • Stopped vendoring dependencies.
  • Split off memcall into its own standalone package.
  • Increase coffer re-key interval to 500ms and remove the option to specify it.

v0.18.2

31 Jul 14:04
e3e7b95
Compare
Choose a tag to compare

Added mitigations against dead-code elimination in Wipe and Scramble functions. See #106

v0.18.1

26 Jul 09:44
110a0ae
Compare
Choose a tag to compare

Fixed

  • Attain exclusive mutex lock in Freeze/Melt methods instead of read only lock.

v0.18.0

25 Jul 22:03
8438707
Compare
Choose a tag to compare
  • Attempting to create zero size objects no longer results in a panic.
  • Optimised performance of methods used to get buffer state.

v0.17.4

21 Jul 17:38
36473dd
Compare
Choose a tag to compare

Allow callers to specify the interval between Coffer re-key cycles. #100 #101

v0.17.3

20 Jul 12:10
14e0f18
Compare
Choose a tag to compare

Added

  • NewBufferFromEntireReader function. Useful for things like reading an entire file directly into guarded memory.

Fixed

  • Wipe hanging partition value after writing it.

v0.17.2

19 Jul 08:10
66a5e7c
Compare
Choose a tag to compare

Use a fast, local cryptographically-secure pseudo-random number generator seeded by the system's secure entropy source for places where we need lots of entropy quickly.

  • Coffer rekeying cycles.
  • Canary initialisation.

v0.17.1

04 Jul 21:23
1ef50ff
Compare
Choose a tag to compare

Make immutable buffer objects mutable before attempting to blindly wipe them :: #95

v0.17.0

27 Jun 22:47
3756a95
Compare
Choose a tag to compare

Added

func (b *LockedBuffer) String() string

Changed

  • NewBufferFromReader and NewBufferFromReaderUntil now return quasi-destroyed objects instead of nil. This allows calling useful methods like Size to determine outcomes.

Fixed

  • Added missing finaliser on LockedBuffer objects returned by opening Enclave objects.
  • Fixed bug that caused a panic when the first element read from the reader in NewBufferFromReaderUntil was the delimiter.

v0.16.4

27 Jun 11:02
bbf4f92
Compare
Choose a tag to compare

Add a Reader method that returns a Reader object referencing the protected region of memory.

func (b *LockedBuffer) Reader() *bytes.Reader