{
  "protocol": "Kex2Provisionee",
  "imports": [
    {
      "path": "common.avdl",
      "type": "idl"
    }
  ],
  "types": [
    {
      "type": "record",
      "name": "PassphraseStream",
      "fields": [
        {
          "type": "bytes",
          "name": "passphraseStream"
        },
        {
          "type": "int",
          "name": "generation"
        }
      ]
    },
    {
      "type": "record",
      "name": "SessionToken",
      "fields": [],
      "typedef": "string"
    },
    {
      "type": "record",
      "name": "CsrfToken",
      "fields": [],
      "typedef": "string"
    },
    {
      "type": "record",
      "name": "HelloRes",
      "fields": [],
      "typedef": "string"
    }
  ],
  "messages": {
    "hello": {
      "request": [
        {
          "name": "uid",
          "type": "UID"
        },
        {
          "name": "token",
          "type": "SessionToken"
        },
        {
          "name": "csrf",
          "type": "CsrfToken"
        },
        {
          "name": "pps",
          "type": "PassphraseStream"
        },
        {
          "name": "sigBody",
          "type": "string"
        }
      ],
      "response": "HelloRes"
    },
    "didCounterSign": {
      "request": [
        {
          "name": "sig",
          "type": "bytes"
        }
      ],
      "response": null
    }
  },
  "namespace": "keybase.1"
}