{"action":"created","issue":{"url":"https://api.github.com/repos/retailnext/node-radius/issues/26","repository_url":"https://api.github.com/repos/retailnext/node-radius","labels_url":"https://api.github.com/repos/retailnext/node-radius/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/retailnext/node-radius/issues/26/comments","events_url":"https://api.github.com/repos/retailnext/node-radius/issues/26/events","html_url":"https://github.com/retailnext/node-radius/issues/26","id":135705670,"number":26,"title":"authenticator.copy is not a function","user":{"login":"skibz","id":2462211,"avatar_url":"https://avatars.githubusercontent.com/u/2462211?v=3","gravatar_id":"","url":"https://api.github.com/users/skibz","html_url":"https://github.com/skibz","followers_url":"https://api.github.com/users/skibz/followers","following_url":"https://api.github.com/users/skibz/following{/other_user}","gists_url":"https://api.github.com/users/skibz/gists{/gist_id}","starred_url":"https://api.github.com/users/skibz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skibz/subscriptions","organizations_url":"https://api.github.com/users/skibz/orgs","repos_url":"https://api.github.com/users/skibz/repos","events_url":"https://api.github.com/users/skibz/events{/privacy}","received_events_url":"https://api.github.com/users/skibz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-23T11:04:26Z","updated_at":"2016-04-17T19:59:17Z","closed_at":"2016-04-17T19:59:17Z","body":"i'm running node 4.3.1 on os x.\r\nmy intuition tells me that the cause of my problem is that node's buffer class has changed between 0.8.0 and 4.3.1.\r\n\r\nwhen responding to an access-request packet, i use `encode_response` which tries to copy the authenticator from the request packet to my response packet. when doing so, i get a typeerror because `radius` was expecting `authenticator` to be a buffer, but it isn't.\r\n\r\ni've patched this in a personal fork of the library. my patch doesn't break any existing tests and the program i've written that uses my personal fork now works as expected.\r\n\r\nhere's the patch i made: https://github.com/skibz/node-radius/commit/dc75c4a4fa0618baa84c5c6ae257784d576fca4f (please excuse the profanity)"},"comment":{"url":"https://api.github.com/repos/retailnext/node-radius/issues/comments/211101935","html_url":"https://github.com/retailnext/node-radius/issues/26#issuecomment-211101935","issue_url":"https://api.github.com/repos/retailnext/node-radius/issues/26","id":211101935,"user":{"login":"psanford","id":33375,"avatar_url":"https://avatars.githubusercontent.com/u/33375?v=3","gravatar_id":"","url":"https://api.github.com/users/psanford","html_url":"https://github.com/psanford","followers_url":"https://api.github.com/users/psanford/followers","following_url":"https://api.github.com/users/psanford/following{/other_user}","gists_url":"https://api.github.com/users/psanford/gists{/gist_id}","starred_url":"https://api.github.com/users/psanford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psanford/subscriptions","organizations_url":"https://api.github.com/users/psanford/orgs","repos_url":"https://api.github.com/users/psanford/repos","events_url":"https://api.github.com/users/psanford/events{/privacy}","received_events_url":"https://api.github.com/users/psanford/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T19:59:17Z","updated_at":"2016-04-17T19:59:17Z","body":"Closing for lack of activity. Feel free to reopen."}}