Skip to content

feat: Add token issued_at property#354

Merged
gtema merged 1 commit intomainfrom
token_issued_at
Nov 12, 2025
Merged

feat: Add token issued_at property#354
gtema merged 1 commit intomainfrom
token_issued_at

Conversation

@gtema
Copy link
Collaborator

@gtema gtema commented Nov 10, 2025

issued_at property of the token in python Keystone is a timestamp of
the fernet creation (part of the protocol). Due to the absence of the
method in the fernet crate copy the logic (just a few steps) how to
access it from the message (python keystone does it the same way even
the public method exists).

@github-actions
Copy link

github-actions bot commented Nov 11, 2025

🐰 Bencher Report

Branchtoken_issued_at
Testbedubuntu-latest

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
fernet token/projectLatency
microseconds (µs)
📈 plot
🚷 threshold
🚨 alert (🔔)
1.47 µs
(+29.00%)Baseline: 1.14 µs
1.28 µs
(114.85%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
🚨 view alert (🔔)
1,467.90 ns
(+29.00%)Baseline: 1,137.89 ns
1,278.12 ns
(114.85%)

get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
148.52 ns
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

github-actions bot commented Nov 11, 2025

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 25-11-12 07:58:55 25-11-12 07:58:57 00:00:02 0 → 4
Maintaining 25-11-12 07:58:57 25-11-12 07:59:28 00:00:31 4
Decreasing 25-11-12 07:59:28 25-11-12 07:59:28 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 15638 0 7.16 5 13 521.27 0.00
Aggregated 15638 0 7.16 5 13 521.27 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 7 7 7 8 8 8 9 13
Aggregated 7 7 7 8 8 8 9 13

Status Code Metrics

Method Name Status Codes
GET 15,638 [200]
Aggregated 15,638 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 15638 0 7.19 5 13 521.27 0.00
Aggregated 15638 0 7.16 5 13 521.27 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 4 15634 7.19 5 13 521.13 3908.50
Aggregated 4 15634 7.19 5 13 521.13 3908.50

Error Metrics

Method Name # Error

View full report

@gtema gtema force-pushed the token_issued_at branch 2 times, most recently from 615dd1e to 5677421 Compare November 11, 2025 19:12
`issued_at` property of the token in python Keystone is a timestamp of
the fernet creation (part of the protocol). Due to the absence of the
method in the fernet crate copy the logic (just a few steps) how to
access it from the message (python keystone does it the same way even
the public method exists).
@gtema gtema merged commit 6d3d7db into main Nov 12, 2025
25 checks passed
@gtema gtema deleted the token_issued_at branch November 15, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments