{"action":"created","issue":{"url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/76","labels_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/76/comments","events_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/76/events","html_url":"https://github.com/koalalorenzo/python-digitalocean/issues/76","id":52948575,"number":76,"title":"Should be able to specify ssh key by fingerprint","user":{"login":"Janzert","id":392930,"avatar_url":"https://avatars.githubusercontent.com/u/392930?v=3","gravatar_id":"","url":"https://api.github.com/users/Janzert","html_url":"https://github.com/Janzert","followers_url":"https://api.github.com/users/Janzert/followers","following_url":"https://api.github.com/users/Janzert/following{/other_user}","gists_url":"https://api.github.com/users/Janzert/gists{/gist_id}","starred_url":"https://api.github.com/users/Janzert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janzert/subscriptions","organizations_url":"https://api.github.com/users/Janzert/orgs","repos_url":"https://api.github.com/users/Janzert/repos","events_url":"https://api.github.com/users/Janzert/events{/privacy}","received_events_url":"https://api.github.com/users/Janzert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-27T05:10:10Z","updated_at":"2015-01-01T15:01:10Z","closed_at":null,"body":"When creating a droplet you should be able to give a key fingerprint to Droplet.create(). The current code tries to interpret any string as an actual public key.\r\n\r\nAdding an additional check to see if it's a fingerprint, instead of a full public key, after finding a string in Droplet.__get_ssh_keys_id and then directly adding the fingerprint to the id list allows it to work."},"comment":{"url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/comments/68488516","html_url":"https://github.com/koalalorenzo/python-digitalocean/issues/76#issuecomment-68488516","issue_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/76","id":68488516,"user":{"login":"moyamo","id":5392783,"avatar_url":"https://avatars.githubusercontent.com/u/5392783?v=3","gravatar_id":"","url":"https://api.github.com/users/moyamo","html_url":"https://github.com/moyamo","followers_url":"https://api.github.com/users/moyamo/followers","following_url":"https://api.github.com/users/moyamo/following{/other_user}","gists_url":"https://api.github.com/users/moyamo/gists{/gist_id}","starred_url":"https://api.github.com/users/moyamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moyamo/subscriptions","organizations_url":"https://api.github.com/users/moyamo/orgs","repos_url":"https://api.github.com/users/moyamo/repos","events_url":"https://api.github.com/users/moyamo/events{/privacy}","received_events_url":"https://api.github.com/users/moyamo/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T15:01:10Z","updated_at":"2015-01-01T15:01:10Z","body":"See https://github.com/koalalorenzo/python-digitalocean/pull/77\r\n\r\nThis might be what you are looking for. However it assumes your ssh_key is 16 pairs of hexadecimal digits separated by a colon."}}