Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2037

Encryption API with bad key on restart tries to encrypt

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • None

    Description

      Andreas has a test where if he restarts with an invalid/different system key it fails to decrypt and the callback decrypt returns EINVAL. However, WT also makes an encrypt call before that error is returned and something is written, encrypted to disk, with the wrong key.

      I have asked Andreas to get a stack trace from the encrypt call to see where it is coming from and why it can happen before the EINVAL error gets back out.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sue.loverso@mongodb.com Susan LoVerso
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: