Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
redis-actionpack
provides a session store for ActionPack, specifically for ActionDispatch. See the main redis-store readme for general guidelines.
For guidelines on using our underlying cache store, see the main redis-store readme.
For information on how to use this library in a Rails app, see the documentation for redis-rails.
If, for some reason, you're using ActionDispatch
and not in a Rails app, read on to learn how to install/use this gem by itself!
# Gemfile
gem 'redis-actionpack'
If you are using redis-store with Rails, head on over to the redis-rails README to learn how to integrate this gem into your Rails application.
For standalone usage:
ActionController::Base.session_store = :redis_store,
servers: %w(redis://localhost:6379/0/session),
expire_after: 90.minutes,
key: '_my_application_session',
threadsafe: false,
secure: true
A brief run-down of these options...
false
if you want to disable the global mutex lock on
session data. It's true
by default, meaning the mutex will be
enabled.gem install bundler
git clone git://github.com/redis-store/redis-actionpack.git
cd redis-actionpack
bundle install
bundle exec rake
If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake
2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license
FAQs
Unknown package
We found that redis-actionpack demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.