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

Encryption API with bad key on restart tries to encrypt

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: