config: remove private_key setting for now

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-09-14 10:43:29 +02:00
parent 3a63224c8b
commit 2ea6fd1847
3 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ var _ = Context("config", func() {
cfg, err := config.ParseArgs("--config", "../../etc/cunicu.yaml")
Expect(err).To(Succeed())
Expect(cfg.Interfaces["wg0"].PrivateKey.String()).To(Equal("kODOmlTNhYbF9htW3uYiE1qKuvBnJKd7MFvaookGd14="))
Expect(cfg.InterfaceSettings("wg-work-laptop").PeerDisc.Community).To(Equal("mysecret-pass"))
})
It("throws an error on an invalid config file path", func() {