DangerAuth is a mechanism for secure authentication over insecure channels, for example if you want client authentication over HTTP.
See https://github.com/j-jzk/dangeraut-d
This repo is basically just a code dump; it will be made into a usable library as time goes.