refraction-networking / conjure

Conjure Refraction Networking station code
https://refraction.network
Apache License 2.0
70 stars 21 forks source link

Support multiple keys for key rotation #278

Closed mingyech closed 1 month ago

mingyech commented 1 month ago

Let the station be able to use multiple private keys so that the key can be rotated over time. Updated components:

Updated config directory structure:

$ tree /var/lib/conjure/
/var/lib/conjure/
├── app_config.toml
├── ClientConf
├── conjure.conf
├── conjure_regtrack.conf
├── phantom_subnets.toml
├── privkey
│   ├── privkey1
│   └── privkey2
├── reg_config.toml
├── regtrack_config.toml
└── zmq_privkey

Also fixes an issue with pfring interface name in the detector startup script, and issues with rust tests linking with libtapdance.