HTTPS SSH

Usage:

from fresco import Route
import fresco_dangerousurls
import sitesecret

SECRET = sitesecret.get_secret(__name__)

# fresco-dangerousurls needs to be initialized with a random secret
# and optional max age before you can use it.
fresco_dangerousurls.init(SECRET, max_age=86400)

# Route stuff as normal
Route('/here-be-dragons/<data:signeddata>', GET=do_dangerous_stuff)

# fresco-dangerousurls will take care of encoding and signing whatever
# data you pass in the URL
urlfor(do_dangerous_stuff, data={'any': 'json serializable data'})