constellation/state
Nils Hanke 68092f27dd AB#2046 : Add option to create SSH users for the first coordinator upon initialization (#133)
* Move `file`, `ssh` and `user` packages to internal
* Rename `SSHKey` to `(ssh.)UserKey`
* Rename KeyValue / Publickey to PublicKey
* Rename SSH key file from "debugd" to "ssh-keys"
* Add CreateSSHUsers function to Core
* Call CreateSSHUsers users on first control-plane node, when defined in config

Tests:
* Make StubUserCreator add entries to /etc/passwd
* Add NewLinuxUserManagerFake for unit tests
* Add unit tests & adjust existing ones to changes
2022-05-16 17:32:00 +02:00
..
cmd Fix static check 2022-05-12 13:53:39 +02:00
keyservice Update to latest grpc generator 2022-05-04 08:48:31 +02:00
mapper Clean up interface 2022-05-12 13:53:39 +02:00
setup AB#2046 : Add option to create SSH users for the first coordinator upon initialization (#133) 2022-05-16 17:32:00 +02:00
test AB#1903 Add grpc interface to push decryption keys 2022-04-21 13:08:02 +02:00
README.md Add state disk volume mounter 2022-04-11 15:41:51 +02:00

State

Files and source code for mounting persistent state disks

Testing

Integration test is available in state/test/integration_test.go. The integration test requires root privileges since it uses dm-crypt. Build and run the test:

go test -c ./state/test/
sudo ./test.test