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

Fix error with key generation on Windows #148

Closed
wants to merge 1 commit into from

Conversation

GhostfromTexas
Copy link

Fix by Balanced Media Technology

The key being generated is used as a file path, and was only supportive of a unix-based pathing system (forward vs backwards slashes)

Changed to use Node Path's path.sep to provide OS specific slashes for pathing.

@richardschneider
Copy link
Contributor

Thanks for the PR. This issue is much deeper in the stack and is being addressed by ipfs/js-ipfs#1017. Basically a Key path should NOT be os-specific and always use the forward slash.

Hopefully all will be fixed in a few days

@GhostfromTexas
Copy link
Author

Understood! Thanks for the comment. Right now it seems to be working for us and atm we're all windows based.

Will definitely keep an eye out for the real fix soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants