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

why is it deprecated, you could just add cuid2, mentioning the security issues associated with k-sortable ids #295

Open
birukbelay opened this issue Jul 20, 2024 · 0 comments

Comments

@birukbelay
Copy link

why are we deprecating cuid, there are case one may want to use k-sortable ids, And the security issue is dependent on your use-case, there are cases where you might even need to use the int auto increment as an id, it might be bad for some scenarios but you still may want to use it for your use-case.
It is not a bug it is a feature !!
you could just mention the security issue of using k-sortable ids with out deprecating it,
marking it as a security issue implies that the package or id have other security issues when the issue actually is not unique to cuid, but common to all sortable ids, provide the info and let the people pick what they want to use

@birukbelay birukbelay changed the title why is it deprecated, you could just add cuid2, mention the security issues why is it deprecated, you could just add cuid2, mentioning the security issues associated with k-sortable ids Jul 20, 2024
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

No branches or pull requests

1 participant