{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/3149","repository_url":"https://api.github.com/repos/pyca/cryptography","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/3149/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/3149/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/3149/events","html_url":"https://github.com/pyca/cryptography/issues/3149","id":176874936,"number":3149,"title":"AttributeError(\"'EntryPoint' object has no attribute 'resolve'\",)","user":{"login":"naveensinghal","id":10431849,"avatar_url":"https://avatars.githubusercontent.com/u/10431849?v=3","gravatar_id":"","url":"https://api.github.com/users/naveensinghal","html_url":"https://github.com/naveensinghal","followers_url":"https://api.github.com/users/naveensinghal/followers","following_url":"https://api.github.com/users/naveensinghal/following{/other_user}","gists_url":"https://api.github.com/users/naveensinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/naveensinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveensinghal/subscriptions","organizations_url":"https://api.github.com/users/naveensinghal/orgs","repos_url":"https://api.github.com/users/naveensinghal/repos","events_url":"https://api.github.com/users/naveensinghal/events{/privacy}","received_events_url":"https://api.github.com/users/naveensinghal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-09-14T10:47:17Z","updated_at":"2016-09-14T16:00:53Z","closed_at":"2016-09-14T11:07:16Z","body":"Hi @alex ,\r\n\r\nI have few issues related to PyOpenSSL & Cryptography packages in Python. Can you please help in resolving these, if possible ? \r\n\r\nPython Code which initiates the Error:\r\n```\r\nprint(\"Salt: %s\" % salt)\r\nserver_key = pyelliptic.ECC(curve=\"prime256v1\")\r\nprint(\"Server_key: %s\" % server_key)\r\nserver_key_id = base64.urlsafe_b64encode(server_key.get_pubkey()[1:])\r\n\r\nhttp_ece.keys[server_key_id] = server_key\r\nhttp_ece.labels[server_key_id] = \"P-256\"\r\nencrypted = http_ece.encrypt(data, salt=salt, keyid=server_key_id,\r\n            dh=self.receiver_key, authSecret=self.auth_key)\r\n```\r\n\r\nValue of \"Salt\" is getting displayed in 100% of the cases. But\r\nIf value of \"Server Key:\" gets displayed, I see the the following EntryPoint Error because of http_ece.encrypt() call:\r\n`AttributeError(\"'EntryPoint' object has no attribute 'resolve'\",)`\r\n(Ref. File Link: https://github.com/martinthomson/encrypted-content-encoding/blob/master/python/http_ece/__init__.py#L128 )\r\n\r\nOtherwise I get the following Error because of pyelliptic.ECC() call:\r\n`Exception('[OpenSSL] EC_KEY_generate_key FAIL ... error:00000000:lib(0):func(0):reason(0)',)`\r\n(Ref. File Link: [https://github.com/yann2192/pyelliptic/blob/master/pyelliptic/ecc.py#L214](url) )\r\n\r\nOther Details:\r\nPartial Requirements.txt:\r\n```\r\ncryptography==1.5\r\npyelliptic==1.5.7\r\npyOpenSSL==16.1.0\r\n```\r\n\r\nThe Django App is running on Debian8 Google Compute Engine VM Instance using Apache and mod_wsgi.\r\n\r\nCan you please help in resolving this issue ?\r\nPlease let me know if any more information is required.\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/247062900","html_url":"https://github.com/pyca/cryptography/issues/3149#issuecomment-247062900","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/3149","id":247062900,"user":{"login":"naveensinghal","id":10431849,"avatar_url":"https://avatars.githubusercontent.com/u/10431849?v=3","gravatar_id":"","url":"https://api.github.com/users/naveensinghal","html_url":"https://github.com/naveensinghal","followers_url":"https://api.github.com/users/naveensinghal/followers","following_url":"https://api.github.com/users/naveensinghal/following{/other_user}","gists_url":"https://api.github.com/users/naveensinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/naveensinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveensinghal/subscriptions","organizations_url":"https://api.github.com/users/naveensinghal/orgs","repos_url":"https://api.github.com/users/naveensinghal/repos","events_url":"https://api.github.com/users/naveensinghal/events{/privacy}","received_events_url":"https://api.github.com/users/naveensinghal/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T16:00:53Z","updated_at":"2016-09-14T16:00:53Z","body":"yes `Requirement already up-to-date:` for every single requirement"}}
{"actor":{"display_login":"naveensinghal"}}