Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

mongoose-encryption

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-encryption - npm Package Versions

joegoldbeck
published 0.13.0 •

Changelog

Source

v 0.13.0

2015-02-21

  • Add decryptPostSave option
  • Implement basic support for nested schemas
joegoldbeck
published 0.12.0 •

Changelog

Source

v 0.12.0

2015-02-14

  • Add authentication
    • Provides defense against attackers with write access
    • Add signingKey option
    • Add secret option
    • Rename key -> encryptionKey
    • Rename fields -> encryptedFields
    • Rename exclude -> excludeFromEncryption
    • Add additionalAuthenticatedFields option
  • Prepend version number to ciphertext and authentication code to allow for version detection
    • Makes any future migrations safer and potentially allows them to be done in stages
    • Requires migration to upgrade from previous versions
      • If you have encrypted subdocuments, first run the class method migrateSubDocsToA() on the parent collection
      • Then run the class method migrateToA() on any encrypted collections (that are not themselves subdocuments)
jgoldbeck
published 0.11.0 •

jgoldbeck
published 0.10.0 •

jgoldbeck
published 0.9.0 •

jgoldbeck
published 0.8.2 •

jgoldbeck
published 0.8.1 •

jgoldbeck
published 0.8.0 •