8000 Handle current time in seconds as long in Keycloak · Issue #11053 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Handle current time in seconds as long in Keycloak #11053
Open
@ahus1

Description

@ahus1

Description

Keycloak has several places where it handles the current time and the expiration time as an integer. This prevents a current time after 2038, and also expiry dates after 2038.

Some methods in JsonWebToken are deprecated as they return an integer, but they are still used in lots of places. Currently Time.currentTime() still returns an integer.

Motivation

Allow token expiry longer than 2038. Clean up deprecated methods.
Handling timestamps as signed integers is known as the Year 2038 problem aka the Epochalypse.

Related issues

Contains all the various issues/bugs reported, which are related to this problem:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0