Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scion-pki: change TRC validity configuration #4440

Open
lukedirtwalker opened this issue Nov 14, 2023 · 0 comments
Open

scion-pki: change TRC validity configuration #4440

lukedirtwalker opened this issue Nov 14, 2023 · 0 comments
Labels
c/tooling SCION network tools

Comments

@lukedirtwalker
Copy link
Collaborator

Entering TRC validity as a pair of not_before [UnixTime] and validity duration string makes it really human unfriendly.
I suggest we change it to not_before and not_after and use RFC3339 (e.g. 1990-12-31T23:59:60Z) time format

So instead of

[validity]
not_before = 1619352000
validity   = "367d"

we would configure:

[validity]
not_before = "2021-04-25T12:00:00Z"
not_after = "2022-04-27T12:00:00Z"

This would make TRC configuration much more readable.

Note that the parsing should allow both forms for a smooth migration.

@lukedirtwalker lukedirtwalker added the c/tooling SCION network tools label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/tooling SCION network tools
Projects
None yet
Development

No branches or pull requests

1 participant