-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
My experience using the argon2 algorithm in kdbxweb in the browser was a bit tricky.
When I use your argon2-asm.min.js from your test, I can create my derived key and everything is fine. The output file also works in my keepass client. That's nice. Unfortunately in the browser the JS is polluting my window object and I had issues with that lately. I also tried NPM libraries, but they don't worked without a bigger effort in setting up my bundler.
What I did to work around that issue:
- I took your script https://github.com/keeweb/kdbxweb/blob/master/test/test-support/argon2.ts
- created a function to wrap all the code from the argon2-asm.js file
- put it all in one file
I don't like this solution, but it was the easiest way to continue using my current bundler settings without using any additional compiler steps.
It would be a great improvement if you add the choice of an additional bundle with the baked-in argon2 algorithm.
fchretienow
Metadata
Metadata
Assignees
Labels
No labels