-
Notifications
You must be signed in to change notification settings - Fork 16
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
Keymanager 'disk' implementation #167
Keymanager 'disk' implementation #167
Conversation
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
64e61cc
to
2db4cb4
Compare
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
Signed-off-by: Max Lambrecht <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just 2 nit comments, for now. looks good to me.
pkg/common/keymanager/disk.go
Outdated
return nil | ||
} | ||
|
||
// SaveKeysToDisk saves the keys in the key manager to disk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// SaveKeysToDisk saves the keys in the key manager to disk. | |
// saveKeysToDisk saves the keys in the key manager to disk. |
pkg/common/keymanager/keymanager.go
Outdated
// KeyManager provides a common interface for managing keys. | ||
// Memory provides a common interface for managing keys. | ||
type KeyManager interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change interface name to match the new comment ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the comment is wrong.
Signed-off-by: Max Lambrecht <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Pull request check list
Affected functionality
Add a new
KeyManager
option for managing Keys in the Galadriel Server. This options adds the possibility of restarting the Galadriel Server without affecting the onboarded Harvesters, as the Server will be able to continue validating the issued JWT tokens.Description of change
Implementation of a
KeyManager
that stores keys in disk.Which issue this pull requests fixes