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

Deprecate and replace uuid library with built-in JavaScript Crypto library #1116

Closed
2 tasks
nelsonni opened this issue Feb 16, 2023 · 0 comments · Fixed by #1152
Closed
2 tasks

Deprecate and replace uuid library with built-in JavaScript Crypto library #1116

nelsonni opened this issue Feb 16, 2023 · 0 comments · Fixed by #1152
Labels
dependencies Issues or updates to dependency files feature Feature requests or improvements

Comments

@nelsonni
Copy link
Member

nelsonni commented Feb 16, 2023

Is your feature request related to a problem? Please describe.
Entities stored in the Redux store are currently uniquely identified using the uuidjs/uuid library, but this dependency can be entirely removed in favor of the built-in JavaScript Crypto library. Removing separate libraries in favor of built-ins reduces the package size, attack surface, and robustness of Synectic.

Describe the solution you'd like
Replace all of the following:

Describe alternatives you've considered
Continuing to use the uuidjs/uuid library requires assuming that the library will remain well-maintained in the future, and any new vulnerabilities in UUID generation based on RFC4122 version 4 will be quickly fixed in this library. Switching to a built-in JavaScript library has a higher guarantee of future maintenance and timely updates.

Additional context
Found via: https://www.youtube.com/shorts/cutfiIgyRao

@nelsonni nelsonni added feature Feature requests or improvements dependencies Issues or updates to dependency files labels Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issues or updates to dependency files feature Feature requests or improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant