Support for encrypted backups

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Security
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When performing a backup/restore using mongodump/mongorestore it should be possible to specify a password protecting the backup.

      Suggested implementation:
      1. The user inputs a password to the mongodump tool.
      2. A random salt is created.
      3. The password is hashed with the salt using PBKDF2 to generate an AES-256 key.
      4. The file is encrypted using AES-256 in CBC mode.
      5. The salt and the CBC IV is stored in a file header to retrieve for decryption.

      Things to consider are which encryption library (if any) to use in mongodump/mongorestore

            Assignee:
            Unassigned
            Reporter:
            Andreas Nilsson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: