{"action":"created","issue":{"url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/60","repository_url":"https://api.github.com/repos/jedisct1/libsodium.js","labels_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/60/comments","events_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/60/events","html_url":"https://github.com/jedisct1/libsodium.js/issues/60","id":161225718,"number":60,"title":"Default memory limit too low for `sodium.crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE`","user":{"login":"creshal","id":1379555,"avatar_url":"https://avatars.githubusercontent.com/u/1379555?v=3","gravatar_id":"","url":"https://api.github.com/users/creshal","html_url":"https://github.com/creshal","followers_url":"https://api.github.com/users/creshal/followers","following_url":"https://api.github.com/users/creshal/following{/other_user}","gists_url":"https://api.github.com/users/creshal/gists{/gist_id}","starred_url":"https://api.github.com/users/creshal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creshal/subscriptions","organizations_url":"https://api.github.com/users/creshal/orgs","repos_url":"https://api.github.com/users/creshal/repos","events_url":"https://api.github.com/users/creshal/events{/privacy}","received_events_url":"https://api.github.com/users/creshal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-20T15:37:05Z","updated_at":"2016-06-20T16:28:49Z","closed_at":null,"body":"> Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 50331648, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 \r\n\r\nThat's an awful lot less than the 1073741824 bytes `MEMLIMIT_SENSITIVE` needs. Same for Argon, it seems."},"comment":{"url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/comments/227194647","html_url":"https://github.com/jedisct1/libsodium.js/issues/60#issuecomment-227194647","issue_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/60","id":227194647,"user":{"login":"creshal","id":1379555,"avatar_url":"https://avatars.githubusercontent.com/u/1379555?v=3","gravatar_id":"","url":"https://api.github.com/users/creshal","html_url":"https://github.com/creshal","followers_url":"https://api.github.com/users/creshal/followers","following_url":"https://api.github.com/users/creshal/following{/other_user}","gists_url":"https://api.github.com/users/creshal/gists{/gist_id}","starred_url":"https://api.github.com/users/creshal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creshal/subscriptions","organizations_url":"https://api.github.com/users/creshal/orgs","repos_url":"https://api.github.com/users/creshal/repos","events_url":"https://api.github.com/users/creshal/events{/privacy}","received_events_url":"https://api.github.com/users/creshal/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T16:28:48Z","updated_at":"2016-06-20T16:28:48Z","body":"> Allocating 1Gb+ for a single script in a web browser is not really practical.\r\n\r\nNodejs in this case, not a browser. \r\n\r\n> I highly doubt you cannot use something more reasonable than MEMLIMIT_SENSITIVE here.\r\n\r\nThe current limit of 50MB isn't reasonable for password hashing in any form."}}
{"actor":{"display_login":"creshal"}}