-
Notifications
You must be signed in to change notification settings - Fork 931
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
Auth: Prune pending TLS identities #14261
Auth: Prune pending TLS identities #14261
Commits on Oct 24, 2024
-
lxd/state: Add LeaderInfo type and function to state.
Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be1ec61 - Browse repository at this point
Copy the full SHA be1ec61View commit details -
lxd: Set LeaderInfo function in
(*Daemon).State
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2220cde - Browse repository at this point
Copy the full SHA 2220cdeView commit details -
lxd: Update ACME handlers to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fe7737 - Browse repository at this point
Copy the full SHA 7fe7737View commit details -
lxd: Update cluster handlers to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afbd115 - Browse repository at this point
Copy the full SHA afbd115View commit details -
lxd: Update image sync task to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15591e9 - Browse repository at this point
Copy the full SHA 15591e9View commit details -
lxd: Update instance handlers to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 458e458 - Browse repository at this point
Copy the full SHA 458e458View commit details -
lxd: Update operation prune task to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5093829 - Browse repository at this point
Copy the full SHA 5093829View commit details -
lxd: Update database patch to use
(*State).LeaderInfo
.Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07a7c8f - Browse repository at this point
Copy the full SHA 07a7c8fView commit details
Commits on Oct 25, 2024
-
lxd/db/cluster: Differentiate errors returned by PendingTLSMetadata.
Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2dd68e - Browse repository at this point
Copy the full SHA b2dd68eView commit details -
lxd: Remove expired pending TLS identities in token prune task.
Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de48dc3 - Browse repository at this point
Copy the full SHA de48dc3View commit details -
lxd: Change log level to 'warn' for the token prune task.
Also change "id" to "operation" in the log context. Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11bc5a3 - Browse repository at this point
Copy the full SHA 11bc5a3View commit details -
lxd: Opportunistically remove invalid/expired pending TLS identities.
On `POST /1.0/certificates` with a trust_token, the CertificateAddToken operation associated with the token is cancelled regardless of where it is invalid/expired. This commit performs the analogous task for pending TLS identities and removes them if invalid when the token is received. Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for effd497 - Browse repository at this point
Copy the full SHA effd497View commit details
Commits on Oct 31, 2024
-
lxd: Add internal testing handler to trigger token prune task.
Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8f95c5 - Browse repository at this point
Copy the full SHA a8f95c5View commit details -
test/suites: Test that expired pending identities are removed when to…
…ken is used. Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efb7028 - Browse repository at this point
Copy the full SHA efb7028View commit details -
test/suites: Test the token pruning task removes expired pending TLS …
…identities. Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f20f62d - Browse repository at this point
Copy the full SHA f20f62dView commit details -
test/suites: Test token prune task for certificate add token operations.
Signed-off-by: Mark Laing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b65fe - Browse repository at this point
Copy the full SHA 86b65feView commit details