-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add explicit trust establishment #383
Commits on Oct 4, 2024
-
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e0920d - Browse repository at this point
Copy the full SHA 8e0920dView commit details -
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f9ca3a - Browse repository at this point
Copy the full SHA 3f9ca3aView commit details -
api/session: Add session API endpoints
The session API endpoints allow the local microcloud client to start a new session by connecting to the local unix socket and establishing a websocket connection. Remote systems that want to join the current cluster use the join endpoint whose intents are getting relayed into the websocket connection. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f04787b - Browse repository at this point
Copy the full SHA f04787bView commit details -
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a98ec7 - Browse repository at this point
Copy the full SHA 3a98ec7View commit details -
client: Add the WebsocketGateway
This wrapper allows to easily consume and write messages from and to an active websocket connection Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21abafb - Browse repository at this point
Copy the full SHA 21abafbView commit details -
api/services: Use the authHandlerMTLS func
Use the renamed auth handler and make sure to never allow untrusted requests. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8445749 - Browse repository at this point
Copy the full SHA 8445749View commit details -
api/auth: Allow temporary trust store and HMAC authentication
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a100d4d - Browse repository at this point
Copy the full SHA a100d4dView commit details -
client: Replace secret with HMAC
Allow authenticating to a remote using an HMAC in two stages: * unverified mTLS: both sides don't know each other * partially verified mTLS: one side knows the other Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9030f3f - Browse repository at this point
Copy the full SHA 9030f3fView commit details -
client: Add new StartSession and JoinIntent client functions
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8174d83 - Browse repository at this point
Copy the full SHA 8174d83View commit details -
mdns: Lookup only a single system and increase the version number
This reworks the mDNS code to support looking up only a single system over the configured lookup interface which matches the one used by the local MicroCloud's listen address. It has the added effect that we can also get rid of the Interface field in the ServerInfo struct. In addition the broadcast version number is increased to prevent collissions with earlier versions of MicroCloud. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 237829d - Browse repository at this point
Copy the full SHA 237829dView commit details -
This removes the secret used for client calls and puts the temporary trust store certificate into place for pre-init request scenarios. In addition this ensures that some of the methods like RemoteClusterMembers can be invoked both during pre-init and after joining the cluster in case a custom remote certificate is provided. After pre-init is required for adding services to MicroCloud. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c413f2 - Browse repository at this point
Copy the full SHA 7c413f2View commit details -
service: Add session concept and remove service level mDNS
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c79d86 - Browse repository at this point
Copy the full SHA 8c79d86View commit details -
cmd/microcloud: Add join and preseed subcommands
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61751b6 - Browse repository at this point
Copy the full SHA 61751b6View commit details -
cmd/microcloud: Add ask utilities and replace secret in client calls
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f54bba - Browse repository at this point
Copy the full SHA 0f54bbaView commit details -
cmd/microcloud: Use session concept for init
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2ef02f - Browse repository at this point
Copy the full SHA a2ef02fView commit details -
cmd/microcloud: Use session concept for add
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd814e2 - Browse repository at this point
Copy the full SHA cd814e2View commit details -
cmd/microcloud: Add join subcommand
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 147355f - Browse repository at this point
Copy the full SHA 147355fView commit details
Commits on Oct 7, 2024
-
cmd/microcloud: Move preseed code into its own subcommand
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e29abc8 - Browse repository at this point
Copy the full SHA e29abc8View commit details -
cmd/microcloud/preseed: Update test
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 276dd98 - Browse repository at this point
Copy the full SHA 276dd98View commit details -
cmd/microcloud: Add initiating and joining session handlers for the CLI
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8dafac - Browse repository at this point
Copy the full SHA c8dafacView commit details -
cmd/microcloudd: Remove secret and mDNS from daemon
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61a25f4 - Browse repository at this point
Copy the full SHA 61a25f4View commit details -
doc: Apply trust establishment changes to the init, add and preseed docs
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e6a1a4 - Browse repository at this point
Copy the full SHA 6e6a1a4View commit details -
test/includes: Add capture_and_join
This new func allows extracting the passphrase from the stdout of 'microcloud init' and running multiple 'microcloud join' using this passphrase in interactive mode. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d347a7d - Browse repository at this point
Copy the full SHA d347a7dView commit details -
test/suites: Rework preseed to work with explicit trust establishment
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 459ff56 - Browse repository at this point
Copy the full SHA 459ff56View commit details -
test/suites: Rework add to work with explicit trust establishment
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91e2452 - Browse repository at this point
Copy the full SHA 91e2452View commit details -
test/suites: Rework recover to work with explicit trust establishment
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c522ff0 - Browse repository at this point
Copy the full SHA c522ff0View commit details -
test/suites: Rework basic to work with explicit trust establishment
Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9322a3 - Browse repository at this point
Copy the full SHA f9322a3View commit details -
cmd/microcloud: Always join the MicroCloud microcluster first
Also move the join message out of waitForJoin to not indicate a join if not all of the peers clusters are joined. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa54fb6 - Browse repository at this point
Copy the full SHA aa54fb6View commit details -
test/suites/basic: Use openvswitch bridge driver for IPv6 tests
This ensures the mDNS multicast traffic flowing between the nodes isn't interrupted as this behavior was observed on the GitHub runners. Signed-off-by: Julian Pelizäus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46fd760 - Browse repository at this point
Copy the full SHA 46fd760View commit details