mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
68092f27dd
* 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 |
||
---|---|---|
.. | ||
cmd | ||
keyservice | ||
mapper | ||
setup | ||
test | ||
README.md |
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