Skip to content

Buffer is not definedΒ #119

@Borvik

Description

@Borvik

We are currently using crypto-browserify as a fallback for crypto.

We just started getting "Buffer is not defined" and I tracked that back to the new version of pbkdf2 (3.1.3) released 5 days ago.

Specifically the change for:

[Fix] pin create-hash, ripemd160 due to breaking changes

Previously create-hash was ^1.1.2 which allowed version 1.2.0 to be pulled and used. Now with ~1.1.3 it forced a backwards change in version for create-hash.

This caused it to use the old version of the make-hash function which does not use safe-buffer or md5.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions