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

Encryption API with bad key on restart tries to encrypt

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                sue.loverso Sue LoVerso
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: