homepage: https://github.com/habibalamin/wai-secure-cookies
changelog-type: ''
hash: e8ad40acf006bea4eeb8eedd9a8ebb17b636cc8e4a8a0c902bda9aaf5c3123ef
test-bench-deps: {}
maintainer: ha.alamin@gmail.com
synopsis: ''
changelog: ''
basic-deps:
  bytestring: ==0.10.*
  wai: ! '>=3.2 && <4'
  split: ! '>=0.2 && <0.3'
  base: ! '>=4.7 && <5'
  base64-bytestring: ! '>=1 && <2'
  protolude: ! '>=0.2 && <0.3'
  memory: ==0.14.*
  cryptonite: ==0.24.*
  random: ! '>=1.1 && <2'
  http-types: ! '>=0.9 && <0.10'
all-versions:
- '0.1.0.0'
author: Habib Alamin
latest: '0.1.0.0'
description-type: markdown
description: ! "# wai-secure-cookies\n\nI extracted a WAI middleware to automatically
  encrypt and sign cookies.\n\n---\n\n** WARNING **\n\nI am not a cryptographer, and
  the crypto libraries in Haskell are not nearly as easy to use as what I'm used to
  in Ruby, so I wouldn't depend on this for a serious project until it's had some
  proper eyes on it.\n\n---\n\n# Usage\n\nPopulate the following environment variables
  in your WAI application process:\n\n```\nWAI\\_COOKIE\\_VALIDATION\\_KEY # key to
  sign cookie names and values\nWAI\\_COOKIE\\_ENCRYPTION\\_KEY # key to encrypt cookie
  names and values\n```\n\nYou can generate random keys with `waicookie-genkey`:\n\n```\nwaicookie-genkey
  <key type> ...\nkey types: encryption\n           validation\n```\n"
license-name: MIT

Update from Hackage at 2017-08-28T12:43:18Z
Update from Hackage at 2017-08-28T12:43:18Z
