Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Releases: yahoojapan/athenz-authorizer

v5.5.0: [minor] add proxy-principals feature support (#97)

14 Nov 08:14
8c1ba38
Compare
Choose a tag to compare

new claim in access token

{
  "cnf": {
    "proxy-principals#spiffe": [
        "spiffe://domain/sa/service"
    ]
  }
}

v5.4.1: [patch] add log on authZ error (#96)

14 Nov 08:11
9d1e128
Compare
Choose a tag to compare
* [patch] add log on authZ error

* update

* fix

* fix

v5.4.0: [minor] add resource prefix option (#95)

28 Sep 07:00
ee9293f
Compare
Choose a tag to compare

new WithResourcePrefix() option

v5.3.3: [patch] use atomic.LoadPointer (#94)

29 Jun 09:05
ef7fd0b
Compare
Choose a tag to compare
* use load pointer

* use load pointer in debug too

v5.3.2: [patch] mask token signature in debug log (#93)

08 Mar 01:33
84c679c
Compare
Choose a tag to compare
  • update go.mod
  • mask token signature in debug log
  • mask token in cache key in debug log
  • debug log message
    • tok => masked tok
    • key => masked key

v5.3.1: [patch] fix policy race condition on update (#92)

10 Feb 07:12
8c218d1
Compare
Choose a tag to compare
  1. change cache field to pointer
  2. use atomic.SwapPointer() for swapping
  3. delegate cache cleanup to GC

v5.3.0: [minor] Fixes for oath: Set the rfc=true for the curve values, and al…

26 Aug 02:01
6f575fe
Compare
Choose a tag to compare
…low priming the updaters so the keys are available immediately. (#88)

* Fixes for oath: Set the rfc=true for the curve values, and allow priming the updaters so the keys are available immediately.

* Also allow authorized roles to be reported.

* Delete extraneous type rule now that it's using switch.

* Don't upgrade jwk; only the use of the rfc=true is required; not the jwk upgrade.

* lower go again.

* Add a little more coverage.

* Normalize the mock with the func that returns authorizedRoles.

* Updated tests to use mock that sets the authorizedRoles and checks for it.

* Rollback the prime options - use Init instead.

* go mod tidy.

* Added an option for the rfc query parameter for jwkd

* Revert "Added an option for the rfc query parameter for jwkd"

This reverts commit 9ce34d4b0851859272273f632cc756cb44799b6d.

* small optimization - make the allowedRoles big enough to hold _all_ the roles as worst case so it doesn't reallocate on appending.

v5.2.2: [patch] Upgrade go to 1.16 (#89)

18 Aug 02:12
17dacdf
Compare
Choose a tag to compare
* Upgrade go to 1.16

* go tidy

v5.2.1: [patch] update go.mod (#86)

03 Aug 05:28
d1054bb
Compare
Choose a tag to compare
* Updated AthenZ/athenz version

* replace jwt library

* fix to v1.0.x version

* add replace

* update unit test timeout

* remove rename

Co-authored-by: Takayuki Ino <tino@yahoo-corp.jp>

v5.2.0: [minor] Support role name in CN (#83)

17 Nov 02:32
7cdd348
Compare
Choose a tag to compare
* Extract role name in CN of RoleCert

* Removed TODO comment

* extract role name delimiter as const