[Bug 44080] New: Bind Koha::Token JWTs to their purpose (typ/aud claims)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44080 Bug ID: 44080 Summary: Bind Koha::Token JWTs to their purpose (typ/aud claims) Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org Depends on: 43077 Target Milestone: --- Koha::Token->encode_claims and decode_claims sign any claims with the single key derived from the database password, without a purpose or audience claim. A validly signed token from one flow (SCO cookie, check-in confirmation and action tokens, checkout confirmation tokens) is accepted by another flow that decodes the same id shape. Add a typ or aud claim, set by each caller and checked on decode. Deferred from bug 43077 (comment 10, point 3) and bug 24401 (comment 82, point 4). Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43077 [Bug 43077] Add encode_claims/decode_claims to Koha::Token -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44080 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |tomascohen@gmail.com |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org