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

Update glcli #404

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Update glcli #404

merged 4 commits into from
Apr 10, 2024

Conversation

nepet
Copy link
Collaborator

@nepet nepet commented Apr 10, 2024

This PR brings the cli back into a working state.
The following calls shouldn't fail anymore, regardless if the client uses old style separated key/cert or new style credentials:

  • glcli getinfo
  • glcli scheduler upgradecreds -> should write a credentials.gfs into the working dir

@nepet nepet changed the title 202404 update glcli Update glcli Apr 10, 2024
nepet added 4 commits April 10, 2024 17:23
The protobuf version "^4" conflicted with gl-client-py

Signed-off-by: Peter Neuroth <[email protected]>
This is needed to be able to call upgradecreds from the cli in case a
client still has the key and the creds separated from each other.

Signed-off-by: Peter Neuroth <[email protected]>
This commit adapts the cli to recent changes made by the introduction of
the credentials blob. It removes the TlsCredentials from the cli but
keeps a backwards compatible way by loading them when found instead of
the credentials file. This way calling `upgradecreds` can perform an
upgrade and returns a new credentials blob containing a rune.

Signed-off-by: Peter Neuroth <[email protected]>
@nepet nepet force-pushed the 202404-update-glcli branch from 17fa18e to 2dd615d Compare April 10, 2024 15:24
@cdecker
Copy link
Collaborator

cdecker commented Apr 10, 2024

ACK 2dd615d

@nepet nepet merged commit 1815d43 into main Apr 10, 2024
19 checks passed
@nepet nepet deleted the 202404-update-glcli branch April 10, 2024 17:09
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