Skip to content

TouchType/ring-hmac-check

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ring-hmac-check

Ring middleware that checks POST requests have a valid HMAC of the HTTP POST body in the header.

In development, feedback welcome!

Usage

With Noir - in server.clj

  (server/add-middleware wrap-hmac-check {:algorithm "HmacSHA512" :header-field "AUTH-HMAC"
                                          :secret-key "FIXME put key here"})

License

Copyright (C) 2011 Dave Barker

Code distributed under the Eclipse Public License, the same as Clojure.

About

Ring middleware for HMAC checking.

Resources

Stars

1 star

Watchers

67 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Clojure 100.0%