Implementation of Signing HTTP Messages draft spec for akka HTTP. Client and server libs.
References:
- spec in HTML Signing HTTP Messages
- IETF tracker of HTTP-signature
- Github repository and issue database for spec
- Akka.io: the reactive, streaming, actor library
This code was initially in rww-play and was tested with a JavaScript client in rww-scala-js.
The packages are published on a maven repository at http://bblfish.net/work/repo/
Check the tests for library useage. More elaborate tests cases are still in development.
todo: can't remember how that works
resolvers += "bblfish.net repository" at "http://bblfish.net/work/repo/snapshots/"
libraryDependencies += "run.cosy" %% "akka-http-signature" % "0.2-SNAPSHOT"
For running in the ammonite.io shell script you can do the following:
import coursier.core.Authentication, coursier.MavenRepository
interp.repositories() ++= Seq(MavenRepository(
"http://bblfish.net/work/repo/snapshots/"
))
@
import $ivy.`run.cosy::akka-http-signature:0.2-SNAPSHOT`