ethereumjs/keythereum

Invalid key length errors with Safari on iOS 10+

adetante opened this issue · 1 comments

Using keythereum on Safari on iOS 10+ causes errors about keys length:

TypeError: invalid key length 32

The problem is due to the version of buffer coming with browserify^10.2.6 : the slice method doesn't return the modified buffer but the original one.
This causes errors when slicing keys (for exemple here).

The solution is to upgrade browserify on ^13.1.1 and rebuild the package.

Please merge my pull request.