Skip to content

v7

Compare
Choose a tag to compare
@CMEONE CMEONE released this 13 Jun 20:30
· 54 commits to master since this release

Notice:

v7 is NOT backwards-compatible with v6. There are known bugs in v6 that were fixed in v7, so we highly recommend that you update your program to work with v7 as soon as possible.

Breaking Changes:

  • Updated the pbkdf2 algorithm that uses PBKDF2-HMAC-SHA256, the v7 pbkdf2 algorithm is more secure but will derive different keys compared to the v6 algorithm
  • Removed SJCL as a dependency and deleted it from tEnvoy.core.

Features (since v6.0.6):

  • Add ephemeral encryption and decryption capabilities to tEnvoyNaClKey with the methods encryptEphemeral(message, nonce, ?password) and decryptEphemeral(encryptedEphemeral, ?password)
  • Deterministically generate tEnvoyPGPKey using keyFactory.genPGPKeys({keyArmored: "..."})
  • Deterministically generate tEnvoyNaClKey using keyFactory.genNaClKeys({key: "...", keyType: "..."})
  • Add util.arrayDeepCopy to create a deep copy of an Array or Uint8Array
  • Add a setPasswordProtected method to key objects to update the methods that require a password (this method will always require a password)
  • Switched key storage to always use a Uint8Array for storing keys in long-term memory
  • Added a destroy method to key objects to zero out the Uint8Array key in memory and delete all methods from the key

Bugfixes (since v6.0.6):

  • Fixed a bug with util.hexToString