{"action":"created","issue":{"url":"https://api.github.com/repos/namecoin/nmcontrol/issues/49","labels_url":"https://api.github.com/repos/namecoin/nmcontrol/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/namecoin/nmcontrol/issues/49/comments","events_url":"https://api.github.com/repos/namecoin/nmcontrol/issues/49/events","html_url":"https://github.com/namecoin/nmcontrol/pull/49","id":51737421,"number":49,"title":"Support REST API as backend.","user":{"login":"domob1812","id":4943644,"avatar_url":"https://avatars.githubusercontent.com/u/4943644?v=3","gravatar_id":"","url":"https://api.github.com/users/domob1812","html_url":"https://github.com/domob1812","followers_url":"https://api.github.com/users/domob1812/followers","following_url":"https://api.github.com/users/domob1812/following{/other_user}","gists_url":"https://api.github.com/users/domob1812/gists{/gist_id}","starred_url":"https://api.github.com/users/domob1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domob1812/subscriptions","organizations_url":"https://api.github.com/users/domob1812/orgs","repos_url":"https://api.github.com/users/domob1812/repos","events_url":"https://api.github.com/users/domob1812/events{/privacy}","received_events_url":"https://api.github.com/users/domob1812/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2014-12-11T21:01:48Z","updated_at":"2015-03-17T09:42:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/namecoin/nmcontrol/pulls/49","html_url":"https://github.com/namecoin/nmcontrol/pull/49","diff_url":"https://github.com/namecoin/nmcontrol/pull/49.diff","patch_url":"https://github.com/namecoin/nmcontrol/pull/49.patch"},"body":"Allow to use a REST API server as backend for NMControl.  Supports both HTTP and HTTPS connections, and allows to optionally specify the expected TLS certificate.  This makes it safe to use with a remote host.\r\n\r\nNote, though, that I'm not a TLS nor Python expert.  So I can't guarantee that the code is safe (but I expect it to be, review welcome).\r\n\r\nSee https://github.com/namecoin/nmcontrol/issues/48."},"comment":{"url":"https://api.github.com/repos/namecoin/nmcontrol/issues/comments/82246733","html_url":"https://github.com/namecoin/nmcontrol/pull/49#issuecomment-82246733","issue_url":"https://api.github.com/repos/namecoin/nmcontrol/issues/49","id":82246733,"user":{"login":"phelixbtc","id":2716236,"avatar_url":"https://avatars.githubusercontent.com/u/2716236?v=3","gravatar_id":"","url":"https://api.github.com/users/phelixbtc","html_url":"https://github.com/phelixbtc","followers_url":"https://api.github.com/users/phelixbtc/followers","following_url":"https://api.github.com/users/phelixbtc/following{/other_user}","gists_url":"https://api.github.com/users/phelixbtc/gists{/gist_id}","starred_url":"https://api.github.com/users/phelixbtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phelixbtc/subscriptions","organizations_url":"https://api.github.com/users/phelixbtc/orgs","repos_url":"https://api.github.com/users/phelixbtc/repos","events_url":"https://api.github.com/users/phelixbtc/events{/privacy}","received_events_url":"https://api.github.com/users/phelixbtc/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T09:42:01Z","updated_at":"2015-03-17T09:42:01Z","body":"The more I look into this the more I get the impression that both the standard Python https functions as well as the requests code is not meant to be used with fingerprints. Maybe we should leave it out for now - people can still add certificates to their system ca store I think.\r\n\r\nRequests seems prone to complication on Windows (especially so with the fingerprint check), maybe we should use builtin functions where available and fall back to requests on systems where up to date libs are not available."}}