Skip to content

v1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Feb 01:40
· 50 commits to main since this release
0e1a0f7

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
    
    1. bootstrap <cellular|sim> --dump-config flag will bootstrap the virtual SIM, then output configuration (arc.json equivalent) to stdout,
      • Since sim and cellular 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, if arc.json does not exist. This means additional costs. Hence it does not make sense to support this way for authkey.
    2. up --read-stdin flag specifies reading the configuration from stdin, then connect to the SORACOM platform