No commit activity in last 3 years
No release in over 3 years
Rack middleware that provides tamper-proof cookies
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Rack::Tamperproof¶ ↑

Usage¶ ↑

use Rack::Tamperproof(:default_key => "123u9ew90uqn") do
  delete_for :just_delete_this
  exception_for :don_t_tamper
end

# delete_for cookies will delete if they are tampered with and your request passes through normally
# exception_for produces an exception if the cookie is tampered with