Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.0.0 osx 10.10.1] TypeError: sodium.crypto_stream_xor_instance is not a function #81

Closed
blahah opened this issue Jun 23, 2017 · 1 comment
Labels

Comments

@blahah
Copy link
Member

blahah commented Jun 23, 2017

NOTE: This bug will prevent sciencefair running at all on OSX 10.9 and 10.10. Users wishing to use sciencefair on those systems should follow this issue.

Description

App freezes with a black screen on startup on OSX 10.9 and 10.10.

Details

https://sentry.io/codeforscience/sciencefair/issues/300109566/

TypeError: sodium.crypto_stream_xor_instance is not a function
  at Protocol._onopen (/Applications/ScienceFair.app/Contents/Resources/app.asar/node_modules/hypercore-protocol/index.js:283:32)
  at Protocol._onmessage (/Applications/ScienceFair.app/Contents/Resources/app.asar/node_modules/hypercore-protocol/index.js:311:17)
  at Protocol._parseMessage (/Applications/ScienceFair.app/Contents/Resources/app.asar/node_modules/hypercore-protocol/index.js:365:10)
  at Protocol._parse (/Applications/ScienceFair.app/Contents/Resources/app.asar/node_modules/hypercore-protocol/index.js:330:37)
  at Protocol._write (/Applications/ScienceFair.app/Contents/Resources/app.asar/node_modules/hypercore-protocol/index.js:238:8)
...
(3 additional frame(s) were not displayed)

This is an issue caused by hypercore-protocol trying to use a libsodium feature that is not yet available in sodium-javascript.

Relevant issues:

@blahah blahah changed the title [osx 10.10.1] TypeError: sodium.crypto_stream_xor_instance is not a function [v1.0.0 osx 10.10.1] TypeError: sodium.crypto_stream_xor_instance is not a function Jun 23, 2017
@blahah blahah added the bug label Jun 24, 2017
@blahah
Copy link
Member Author

blahah commented Jun 28, 2017

Fixed upstream - new builds will automatically use the right version of sodium-javascript

@blahah blahah closed this as completed Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant