diff --git a/CHANGELOG.md b/CHANGELOG.md index e5039ce..e482240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 0.7.0 (2023-02-14) + +### Changed + +- Refresh configuration - simplification, minimal_refresh_interval removed (replaced by refresh_interval in KeyNotFound refresh strategy) + +### Added + +- integration tests, unit tests + ## 0.6.0 (2023-02-05) ### Added - JwtAuthorizer::from_oidc(issuer_uri) - building from oidc discovery page -### Chnaged +### Changed - JwtAuthorizer::layer() becomes async diff --git a/README.md b/README.md index 80ebdba..99b5296 100644 --- a/README.md +++ b/README.md @@ -15,23 +15,9 @@ JWT authorizer Layer for Axum. See documentation of the [`jwt-authorizer`](./jwt-authorizer/docs/README.md) module or the [`demo-server`](./demo-server/) example. -## Development +## Development -### Key generation - -EC (ECDSA) - (algorigthm ES256 - ECDSA using SHA-256) - -curve name: prime256v1 (secp256r1, secp384r1) - -> openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out ec-private.pem - -> openssl ec -in ec-private.pem -pubout -out ec-public-key.pem - -EdDSA (Edwards-curve Digital Signature Algorithm) - -(Ed25519 - implémentation spécifique de EdDSA, utilisant la Courbe d'Edwards tordue) - -> openssl genpkey -algorithm ed25519 +... ## Contributing @@ -39,4 +25,4 @@ Contributions are wellcome! ## License -MIT \ No newline at end of file +MIT diff --git a/config/README.md b/config/README.md new file mode 100644 index 0000000..bcd2490 --- /dev/null +++ b/config/README.md @@ -0,0 +1,15 @@ +# Key generation + +## EC (ECDSA) - (algorigthm ES256 - ECDSA using SHA-256) + +curve name: prime256v1 (secp256r1, secp384r1) + +> openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out ec-private.pem + +> openssl ec -in ec-private.pem -pubout -out ec-public-key.pem + +## EdDSA - Edwards-curve Digital Signature Algorithm + +(Ed25519 - EdDSA signature scheme using SHA-512 (SHA-2) and Curve25519) + +> openssl genpkey -algorithm ed25519 diff --git a/jwt-authorizer/docs/README.md b/jwt-authorizer/docs/README.md index 8a5b250..996d638 100644 --- a/jwt-authorizer/docs/README.md +++ b/jwt-authorizer/docs/README.md @@ -11,6 +11,7 @@ JWT authoriser Layer for Axum. - OpenId Connect Discovery - Claims extraction - Claims checker +- tracing support (error logging) ## Usage Example