)]}'
{
  "commit": "3e305e4a4752f70c0b5c3cf5b43ec957881714f7",
  "tree": "e3ba8537a1753b436804b676aaddbdcc9448bb15",
  "parents": [
    "fdd1ab6ad5c27a1564a1c73045908736b228458b"
  ],
  "author": {
    "name": "Daniel P. Berrange",
    "email": "berrange@redhat.com",
    "time": "Thu Aug 06 14:39:32 2015 +0100"
  },
  "committer": {
    "name": "Daniel P. Berrange",
    "email": "berrange@redhat.com",
    "time": "Tue Sep 15 15:20:55 2015 +0100"
  },
  "message": "ui: convert VNC server to use QCryptoTLSSession\n\nSwitch VNC server over to using the QCryptoTLSSession object\nfor the TLS session. This removes the direct use of gnutls\nfrom the VNC server code. It also removes most knowledge\nabout TLS certificate handling from the VNC server code.\nThis has the nice effect that all the CONFIG_VNC_TLS\nconditionals go away and the user gets an actual error\nmessage when requesting TLS instead of it being silently\nignored.\n\nWith this change, the existing configuration options for\nenabling TLS with -vnc are deprecated.\n\nOld syntax for anon-DH credentials:\n\n  -vnc hostname:0,tls\n\nNew syntax:\n\n  -object tls-creds-anon,id\u003dtls0,endpoint\u003dserver \\\n  -vnc hostname:0,tls-creds\u003dtls0\n\nOld syntax for x509 credentials, no client certs:\n\n  -vnc hostname:0,tls,x509\u003d/path/to/certs\n\nNew syntax:\n\n  -object tls-creds-x509,id\u003dtls0,dir\u003d/path/to/certs,endpoint\u003dserver,verify-peer\u003dno \\\n  -vnc hostname:0,tls-creds\u003dtls0\n\nOld syntax for x509 credentials, requiring client certs:\n\n  -vnc hostname:0,tls,x509verify\u003d/path/to/certs\n\nNew syntax:\n\n  -object tls-creds-x509,id\u003dtls0,dir\u003d/path/to/certs,endpoint\u003dserver,verify-peer\u003dyes \\\n  -vnc hostname:0,tls-creds\u003dtls0\n\nThis aligns VNC with the way TLS credentials are to be\nconfigured in the future for chardev, nbd and migration\nbackends. It also has the benefit that the same TLS\ncredentials can be shared across multiple VNC server\ninstances, if desired.\n\nIf someone uses the deprecated syntax, it will internally\nresult in the creation of a \u0027tls-creds\u0027 object with an ID\nbased on the VNC server ID. This allows backwards compat\nwith the CLI syntax, while still deleting all the original\nTLS code from the VNC server.\n\nSigned-off-by: Daniel P. Berrange \u003cberrange@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bdd302c3bff52e9f280619e1a7e342ba41035dce",
      "old_mode": 33261,
      "old_path": "configure",
      "new_id": "018ba0b78f7b5e9372eef554f874a66422bb1e55",
      "new_mode": 33261,
      "new_path": "configure"
    },
    {
      "type": "modify",
      "old_id": "3f2e25bf24a56d70a763589dd5f4b1927aa26679",
      "old_mode": 33188,
      "old_path": "qemu-options.hx",
      "new_id": "7e147b8aacda6d880930cee115a20b4cbb03d5e4",
      "new_mode": 33188,
      "new_path": "qemu-options.hx"
    },
    {
      "type": "modify",
      "old_id": "c62d4d9722b826b1328539a558438c4f74c650a2",
      "old_mode": 33188,
      "old_path": "ui/Makefile.objs",
      "new_id": "0034fbb49f4f175e7e56f0898ca53c14f503a4f1",
      "new_mode": 33188,
      "new_path": "ui/Makefile.objs"
    },
    {
      "type": "modify",
      "old_id": "62a5fc4bf182d7b061d32ea9d9add56428b9b379",
      "old_mode": 33188,
      "old_path": "ui/vnc-auth-sasl.c",
      "new_id": "fc732bdbacc45bca7761bb4fadc49c87f77d3e15",
      "new_mode": 33188,
      "new_path": "ui/vnc-auth-sasl.c"
    },
    {
      "type": "modify",
      "old_id": "8fc965b4adf676c2784f8622611b63cadd38c5bd",
      "old_mode": 33188,
      "old_path": "ui/vnc-auth-vencrypt.c",
      "new_id": "44ac2fae633a00f22981cfb2d6c55e1c1d6a4c60",
      "new_mode": 33188,
      "new_path": "ui/vnc-auth-vencrypt.c"
    },
    {
      "type": "delete",
      "old_id": "028fc4db1f718e5063e14d280db400bb16cb52c2",
      "old_mode": 33188,
      "old_path": "ui/vnc-tls.c",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "f9829c7824f2897bf5fd6979c05d384aeefd1a77",
      "old_mode": 33188,
      "old_path": "ui/vnc-tls.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "b4cb6bde70e1835b854ee25564345933874734ec",
      "old_mode": 33188,
      "old_path": "ui/vnc-ws.c",
      "new_id": "175ea50b4b15301ff7c7aef5ed4e46d88c01a0ab",
      "new_mode": 33188,
      "new_path": "ui/vnc-ws.c"
    },
    {
      "type": "modify",
      "old_id": "94942258ec28268beed029454fdcee13410d0ebf",
      "old_mode": 33188,
      "old_path": "ui/vnc-ws.h",
      "new_id": "4ab0a8c8995f0a65b1991e90ce479c8eb088357a",
      "new_mode": 33188,
      "new_path": "ui/vnc-ws.h"
    },
    {
      "type": "modify",
      "old_id": "19ad0889d1d6dec95745c6997b535da049773143",
      "old_mode": 33188,
      "old_path": "ui/vnc.c",
      "new_id": "d73966afc56e4d9797f8d6bd3a712d88cc60d241",
      "new_mode": 33188,
      "new_path": "ui/vnc.c"
    },
    {
      "type": "modify",
      "old_id": "194ccf74f8a059fb714f5d6a2bb27768ef598243",
      "old_mode": 33188,
      "old_path": "ui/vnc.h",
      "new_id": "4dd769cddb04618695a141b66f4d48dbd58466be",
      "new_mode": 33188,
      "new_path": "ui/vnc.h"
    }
  ]
}
