{"action":"created","issue":{"url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/15","repository_url":"https://api.github.com/repos/bjeavons/zxcvbn-php","labels_url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/15/comments","events_url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/15/events","html_url":"https://github.com/bjeavons/zxcvbn-php/issues/15","id":175786735,"number":15,"title":"Discrepancy with original Dropbox JS library","user":{"login":"aramonc","id":2242224,"avatar_url":"https://avatars0.githubusercontent.com/u/2242224?v=4","gravatar_id":"","url":"https://api.github.com/users/aramonc","html_url":"https://github.com/aramonc","followers_url":"https://api.github.com/users/aramonc/followers","following_url":"https://api.github.com/users/aramonc/following{/other_user}","gists_url":"https://api.github.com/users/aramonc/gists{/gist_id}","starred_url":"https://api.github.com/users/aramonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aramonc/subscriptions","organizations_url":"https://api.github.com/users/aramonc/orgs","repos_url":"https://api.github.com/users/aramonc/repos","events_url":"https://api.github.com/users/aramonc/events{/privacy}","received_events_url":"https://api.github.com/users/aramonc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-08T15:34:46Z","updated_at":"2018-03-23T00:31:00Z","closed_at":null,"author_association":"NONE","body":"The phrase `nothingtoshare` scores a 3 on the JS library (can check with https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.html). However, this version gives a score of 0:\n\n```\n$strength = {array} [6]\n crack_time = 18.85575\n calc_time = 0.031842947006226\n password = \"nothingtoshare\"\n entropy = 18.524645010213\n match_sequence = {array} [3]\n score = 0\n```\n\nSimilarly `n0th1ngt0sh@re` also scores 3, but only a 1 here:\n\n```\n$strength = {array} [6]\n crack_time = 509.10525\n calc_time = 0.059408903121948\n password = \"n0th1ngt0sh@re\"\n entropy = 23.279532512376\n match_sequence = {array} [3]\n  0 = {ZxcvbnPhp\\Matchers\\L33tMatch} [13]\n   sub = {array} [3]\n   subDisplay = \"0 -> o, 1 -> i, 0 -> o, @ -> a\"\n   l33t = true\n   dictionaryName = \"english\"\n   rank = 155\n   matchedWord = \"nothing\"\n   password = \"n0th1ngt0sh@re\"\n   begin = 0\n   end = 6\n   token = \"n0th1ng\"\n   pattern = \"dictionary\"\n   entropy = null\n   cardinality = null\n  1 = {ZxcvbnPhp\\Matchers\\L33tMatch} [13]\n  2 = {ZxcvbnPhp\\Matchers\\L33tMatch} [13]\n score = 1\n```\n\nNot sure if the issue is here or with the DropBox lib.\n"},"comment":{"url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/comments/375501267","html_url":"https://github.com/bjeavons/zxcvbn-php/issues/15#issuecomment-375501267","issue_url":"https://api.github.com/repos/bjeavons/zxcvbn-php/issues/15","id":375501267,"user":{"login":"bjeavons","id":94468,"avatar_url":"https://avatars0.githubusercontent.com/u/94468?v=4","gravatar_id":"","url":"https://api.github.com/users/bjeavons","html_url":"https://github.com/bjeavons","followers_url":"https://api.github.com/users/bjeavons/followers","following_url":"https://api.github.com/users/bjeavons/following{/other_user}","gists_url":"https://api.github.com/users/bjeavons/gists{/gist_id}","starred_url":"https://api.github.com/users/bjeavons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjeavons/subscriptions","organizations_url":"https://api.github.com/users/bjeavons/orgs","repos_url":"https://api.github.com/users/bjeavons/repos","events_url":"https://api.github.com/users/bjeavons/events{/privacy}","received_events_url":"https://api.github.com/users/bjeavons/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T00:31:00Z","updated_at":"2018-03-23T00:31:00Z","author_association":"OWNER","body":"No change in state for me but I'd welcome solution proposals from others. If someone wanted to take on the work I would like to first see a brief writeup of how to solve the inconsistency challenges. Then various users of this lib can discuss pros & cons before any codes is written and a PR made."}}
{"actor":{"display_login":"bjeavons"}}