Add signing and private key support

The library now adds wrappers around the buddy library's sign function. This is
made possible by extracting any private keys from the json web key list.

Specs are added for the new private key functionality.

The resolve-key function is now private, and new functions resolve-public-key
and resolve-private-key has taken its place.

Signed-off-by: Snorre Magnus Davøen <snorre.davoen@nsd.no>
1 job for master in 29 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #51239
test

00:00:29

 
Name Stage Failure
failed
test Test
	at no.nsd.clj_jwt_test$eval970.invokeStatic(clj_jwt_test.clj:1)
at no.nsd.clj_jwt_test$eval970.invoke(clj_jwt_test.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:7176)
at clojure.lang.Compiler.eval(Compiler.java:7165)
at clojure.lang.Compiler.load(Compiler.java:7635)
... 45 more
Running after script...
$ cp -R $HOME/.m2 .
ERROR: Job failed: exit code 1