Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-540

Define v2 token types and implement token derivation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.8.0, 1.8.0-alpha0
    • Affects Version/s: None
    • Component/s: None
    • None

      The following token types were added in v2:

      ServerTokenDerivationLevel1Token = HMAC(indexKey, 2)

      ServerDerivedFromDataToken = HMAC(ServerTokenDerivationLevel1Token, value)

      Only ServerDerivedFromDataToken is really used in the v2 payloads. ServerTokenDerivationLevel1Token is just an intermediate type used for deriving the ServerDerivedFromDataToken.

       

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: