Skip to content

Token changes#7

Merged
stgraber merged 2 commits into
canonical:mainfrom
masnax:token-changes
Aug 19, 2022
Merged

Token changes#7
stgraber merged 2 commits into
canonical:mainfrom
masnax:token-changes

Conversation

@masnax
Copy link
Copy Markdown
Contributor

@masnax masnax commented Aug 18, 2022

This changes tokens to store the cluster certificate fingerprint rather than the whole certificate. The certificate is then checked against the actual cluster using GetRemoteCertificate and a cluster member address from the token.

Additionally, all references to the internal token key have been renamed to secret.

masnax added 2 commits August 18, 2022 21:34
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
@masnax masnax requested a review from stgraber August 18, 2022 21:36
@stgraber stgraber merged commit 84cf64a into canonical:main Aug 19, 2022
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.

2 participants