util: Fix session token expiration check #1230

Merged
fyrchik merged 1 commit from aarifullin/frostfs-node:fix/1229-sessiontok_exp into master 2024-07-08 08:15:59 +00:00
Member
  • Make session token expired at current_epoch + 1 but not at current_epoch when it's still valid.

Close #1229

* Make session token expired at `current_epoch + 1` but not at `current_epoch` when it's still valid. Close #1229
aarifullin added 1 commit 2024-07-05 08:53:20 +00:00
[#1229] util: Fix session token expiration check
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 3m31s
DCO action / DCO (pull_request) Successful in 3m19s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m16s
Build / Build Components (1.22) (pull_request) Successful in 5m7s
Build / Build Components (1.21) (pull_request) Successful in 5m13s
Tests and linters / Staticcheck (pull_request) Successful in 7m12s
Tests and linters / gopls check (pull_request) Successful in 7m13s
Tests and linters / Lint (pull_request) Successful in 8m6s
Tests and linters / Tests (1.21) (pull_request) Successful in 10m17s
Tests and linters / Tests with -race (pull_request) Successful in 10m18s
Tests and linters / Tests (1.22) (pull_request) Successful in 10m35s
433550514d
* Make session token expired at `current_epoch + 1` but
  not at `current_epoch` when it's still valid.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
aarifullin requested review from storage-core-committers 2024-07-05 08:53:57 +00:00
aarifullin requested review from alexvanin 2024-07-05 08:54:07 +00:00
aarifullin requested review from storage-core-developers 2024-07-05 08:54:22 +00:00
aarifullin changed title from [#1229] util: Fix session token expiration check to util: Fix session token expiration check 2024-07-05 09:00:03 +00:00
dstepanov-yadro approved these changes 2024-07-08 07:26:57 +00:00
fyrchik merged commit d90aab5454 into master 2024-07-08 08:15:59 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1230
No description provided.