![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
A devise-encryptable password encryptor that uses SCrypt
Assuming you have devise (>= 2.1) and the devise-encryptable plugin
set up in your application, add devise-scrypt
to your Gemfile
and bundle
:
gem 'devise-scrypt'
Then open up your devise configuration, which supposedly lives at
config/initializers/devise.rb
and configure your encryptor to be scrypt
:
# config/initializers/devise.rb
Devise.setup do |config|
# ..
config.encryptor = :scrypt
# ...
end
It is also recommended to uncomment (or add) config.pepper
with a random
string that will be used in addition to the per-user password_salt
when hashing.
The config.stretches
option does not affect the calculation complexity. Instead,
please adjust the scrypt
defaults to your liking. Please note that in the test
environment you will probably want to reduce complexity if you find your test suite
slows down significantly. Please refer to the SCrypt gem documentation about SCrypt
config options and their effect.
# Example config:
SCrypt::Engine::DEFAULTS[:key_len] = 64
SCrypt::Engine::DEFAULTS[:salt_size] = 32
The test suite passes against MRI 1.8.7, 1.9.2, 1.9.3, REE, and Rubinius in both 1.8 and 1.9 modes.
JRuby is not supported because the SCrypt gem is a C extension and therefore is incompatible with it.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Copyright (c) 2012 Christoph Olszowka, Capita Unternehmensberatung GmbH
Released under MIT License. See LICENSE.txt
FAQs
Unknown package
We found that devise-scrypt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.