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

mongoose-encryption

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-encryption - npm Package Versions

12

0.13.0

Diff

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 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc