{"action":"created","issue":{"url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/144","repository_url":"https://api.github.com/repos/alexdalitz/dnsruby","labels_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/144/comments","events_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/144/events","html_url":"https://github.com/alexdalitz/dnsruby/issues/144","id":318045041,"number":144,"title":"bogus invalid key issue (patch included)","user":{"login":"ediazfer","id":13448928,"avatar_url":"https://avatars0.githubusercontent.com/u/13448928?v=4","gravatar_id":"","url":"https://api.github.com/users/ediazfer","html_url":"https://github.com/ediazfer","followers_url":"https://api.github.com/users/ediazfer/followers","following_url":"https://api.github.com/users/ediazfer/following{/other_user}","gists_url":"https://api.github.com/users/ediazfer/gists{/gist_id}","starred_url":"https://api.github.com/users/ediazfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ediazfer/subscriptions","organizations_url":"https://api.github.com/users/ediazfer/orgs","repos_url":"https://api.github.com/users/ediazfer/repos","events_url":"https://api.github.com/users/ediazfer/events{/privacy}","received_events_url":"https://api.github.com/users/ediazfer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T14:04:43Z","updated_at":"2018-04-27T05:38:09Z","closed_at":null,"author_association":"NONE","body":"ruby --version\r\nruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]\r\n\r\nThe .e and .n fields/methods do not exist anymore in OpenSSL::PKey::RSA\r\n\r\n    This triggers a bogus invalid key error when the code is used (hiding the true Exception about the\r\n    method not being found)\r\n    This tiny patch calls the setter.\r\n    \r\n    Changes to be committed:\r\n        modified:   lib/dnsruby/resource/DNSKEY.rb\r\n\r\n[openssl::PKey::RSA.patch.zip](https://github.com/alexdalitz/dnsruby/files/1951488/openssl.PKey.RSA.patch.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/comments/384869431","html_url":"https://github.com/alexdalitz/dnsruby/issues/144#issuecomment-384869431","issue_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/144","id":384869431,"user":{"login":"edfeu","id":37612026,"avatar_url":"https://avatars1.githubusercontent.com/u/37612026?v=4","gravatar_id":"","url":"https://api.github.com/users/edfeu","html_url":"https://github.com/edfeu","followers_url":"https://api.github.com/users/edfeu/followers","following_url":"https://api.github.com/users/edfeu/following{/other_user}","gists_url":"https://api.github.com/users/edfeu/gists{/gist_id}","starred_url":"https://api.github.com/users/edfeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edfeu/subscriptions","organizations_url":"https://api.github.com/users/edfeu/orgs","repos_url":"https://api.github.com/users/edfeu/repos","events_url":"https://api.github.com/users/edfeu/events{/privacy}","received_events_url":"https://api.github.com/users/edfeu/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T05:38:09Z","updated_at":"2018-04-27T05:38:09Z","author_association":"NONE","body":"This test ?\r\n./tc_dnskey.rb \r\nRun options: --seed 52271\r\n\r\n# Running:\r\n\r\nDnskeyTest | ....\r\n           | 0.00 s\r\nSlowest tests:\r\n0.00 s  DnskeyTest#test_dnskey_from_string\r\n0.00 s  DnskeyTest#test_bad_values\r\n0.00 s  DnskeyTest#test_dnskey_from_data\r\n0.00 s  DnskeyTest#test_from_string_with_comments\r\nSlowest suites:\r\n0.00 s  DnskeyTest\r\n\r\nFinished in 0.002743s, 1458.4663 runs/s, 4740.0156 assertions/s.\r\n\r\n4 runs, 13 assertions, 0 failures, 0 errors, 0 skips\r\n\r\nThat's the same error I got before the patch.\r\n\r\nI suspect if you modify lines 301 and 302 to respectively retrieve the exception and print it in the message, you'll see it's about an API error.\r\n\r\nThe openssl installed by \"gem install openssl\" is  (default: 2.1.0).  It's also the version on a Windows machine. \r\n"}}
{"actor":{"display_login":"edfeu"}}