Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Releases: TankerHQ/sdk-go

v2.5.0

29 Jul 16:11
Compare
Choose a tag to compare

API changes

  • CreateEncryptionSession now takes *EncryptionOptions instead of two arrays.
  • EncryptionOptions must now be constructed with NewEncryptionOptions. Failure to do so will result in the ShareWithSelf options being disabled.
  • EncryptionOptions.Recipients was renamed to EncryptionOptions.ShareWithUsers
  • EncryptionOptions.Groups was renamed to EncryptionOptions.ShareWithGroups
  • EncryptionOptions now has a ShareWithSelf option
  • Share now takes a SharingOptions struct that must be constructed with NewSharingOptions

v2.4.1

03 Jul 14:14
Compare
Choose a tag to compare
  • Internal improvements
  • Update dependencies

v2.4.0

05 Jun 09:26
Compare
Choose a tag to compare

Encryption sessions

The encryption sessions feature is now generally available. This allows you to encrypt multiple resources with a reduced number of keys. This guide will help you getting started.

API change

  • EncryptOptions has been renamed to EncryptionOptions

v2.3.2

26 Mar 13:51
Compare
Choose a tag to compare
  • Fix possible crash on session start

v2.3.1

17 Mar 09:34
Compare
Choose a tag to compare
  • Fix possible crash on exit
  • Internal improvements

v2.3.0

11 Mar 09:48
Compare
Choose a tag to compare
  • Add the PrehashPassword function
  • Some APIs now return a ErrorConflict error if there was a concurrent operation made by another device on the server.

v2.2.2

24 Jan 11:06
Compare
Choose a tag to compare

Simplify revocation handling in Tanker apps. Now, calling any encryption method on Tanker while the device is revoked will throw a new ErrorDeviceRevoked exception and close the session.