From 5cb7dd7ca0c71b507eb45188a23e4aa2cb07fc31 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 4 Sep 2018 14:46:38 +0200 Subject: feat(build): Configure Travis CI builds --- .travis.yml | 2 ++ README.md | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000000..5b0e032f1844 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,2 @@ +language: rust +cache: cargo diff --git a/README.md b/README.md index 75f3bb9839ed..b9ff57df4be3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ alcoholic_jwt ============= +[![Build Status](https://travis-ci.org/aprilabank/alcoholic_jwt.svg?branch=master)](https://travis-ci.org/aprilabank/alcoholic_jwt) + This is a library for **validation** of **RS256** JWTs using keys from a JWKS. Nothing more, nothing less. +RS256 is the most commonly used asymmetric signature mechanism for +JWTs, encountered in for example [Google][]'s or [Aprila][]'s APIs. + The name of the library stems from the potential side-effects of trying to use the other Rust libraries that are made for similar purposes. @@ -51,5 +56,7 @@ This library aims to only use trustworthy off-the-shelf components to do the work. Cryptographic operations are provided by the `openssl` crate, JSON-serialisation is provided by `serde_json`. +[Google]: https://www.google.com/ +[Aprila]: https://www.aprila.no/ [JWKS]: https://tools.ietf.org/html/rfc7517 [`kid` claim]: https://tools.ietf.org/html/rfc7515#section-4.1.4 -- cgit 1.4.1