v1.2.0
Changelog
Added
-
added new flags,
--dump-config
and--read-stdin
, for cellular or SIM bootstrap (#29) For some use cases, saving WireGuard private key in plain text file will be a security concern, although kernel-native WireGuard does. File system encryption and setting proper permission could mitigate the concern, but #29 introduced another way to improve the situation. In short:$ ./soratun boostrap <cellular|sim> --dump-config | sudo ./soratun up --read-stdin
bootstrap <cellular|sim> --dump-config
flag will bootstrap the virtual SIM, then output configuration (arc.json
equivalent) to stdout,- Since
sim
andcellular
based bootstrap is idemponent, we can repeatedly do that. Every bootstrap will return same virtual SIM, with new pair of WireGuard key etc. - On the other hand,
authkey
based bootstrap will create new virtual SIM every time when it's called, ifarc.json
does not exist. This means additional costs. Hence it does not make sense to support this way forauthkey
.
- Since
up --read-stdin
flag specifies reading the configuration from stdin, then connect to the SORACOM platform