Skip to content

Create a per-issuer lock for entries that don't exist #179

@bbockelm

Description

@bbockelm

We have a "thundering herd" issue that exists for an issuer that has never been seen. The "refresh mutex" in scitokens_internal.cpp only works with renewal of known issuers.

Create either a global lock for new issuers or a lookup table of a lock-per-issuer. If the latter is done, make sure to have a mechanism to prevent resource exhaustion from an attacker that can create an infinite number of issuers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions