jphackworth / kestrel

Ideas for a new implementation of cjdns
Apache License 2.0
8 stars 2 forks source link

Define a config file format #3

Open jphackworth opened 9 years ago

jphackworth commented 9 years ago

/etc/zlarkd/zlarkd.toml, contains public/private key and other server configuration options like logging) /etc/zlarkd/peers.d/peer1.json /etc/zlarkd/peers.d/peer2.json

jphackworth commented 9 years ago

Config format is currently (TOML)

[Server] listen = "ip:port" public_key = "" # base32 encoded public key private_key = "" # hex encoded private key ipv6 = "" # cjdns fc00::/8 address

jphackworth commented 9 years ago

Still need to add config sections for logging, peers and passwords.