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 kinode desktop #682

Merged
merged 2 commits into from
Feb 4, 2025
Merged

fix kinode desktop #682

merged 2 commits into from
Feb 4, 2025

Conversation

nick1udwig
Copy link
Member

@nick1udwig nick1udwig commented Feb 4, 2025

Problem

electron was not happy with argon2-browser, specifically with fetching the wasm binary that actually ran argon2

however, the bundle we were using had the wasm binary bundled into it

Solution

this PR simply removes all methods of acquiring the wasm file and uses the wasm binary bundled within it

Testing

  • Correct password works
  • Incorrect password does not work
  • Kinode Desktop correct password works
  • Kinode Desktop incorrect password does not work

Docs Update

None

Notes

The original minified code lives here

You can build it yourself from this repo https://github.com/antelle/argon2-browser following these steps antelle/argon2-browser#93

@nick1udwig nick1udwig changed the base branch from develop to release-candidate February 4, 2025 23:45
electron was not happy with argon2-browser, specifically
with fetching the wasm binary that actually ran argon2

however, the bundle we were using had the wasm binary
bundled into it

this commit simply removes all methods of acquiring the
wasm file and uses the wasm binary bundled within it
@nick1udwig nick1udwig force-pushed the hf/fix-kinode-desktop branch from f7495e4 to 901ae28 Compare February 4, 2025 23:46
@nick1udwig nick1udwig merged commit 4c9002a into release-candidate Feb 4, 2025
1 check passed
@nick1udwig nick1udwig deleted the hf/fix-kinode-desktop branch February 4, 2025 23:46
@nick1udwig nick1udwig restored the hf/fix-kinode-desktop branch February 5, 2025 01:31
@nick1udwig nick1udwig deleted the hf/fix-kinode-desktop branch February 6, 2025 22:06
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.

1 participant