Open alex2108 opened 8 years ago
Probably we should try to fetch in a cross-platform fashion the API key from the configuration file:
https://docs.syncthing.net/users/config.html
From the xml tree in PATH/config.xml
:
configuration -> gui -> apikey
Issue is related to #17
probably not a good idea since that possibility may be gone soon, see https://forum.syncthing.net/t/proposal-for-hashing-api-keys/7493/1
syncthing commit: https://github.com/syncthing/syncthing/commit/bf7fcc612d79133372b3d663fe0639a403e5467c
workaround for now: provide apikey via
-api INSERTSTAPIKEY