Madhur Jodhwani
09/09/2021, 1:36 PMgo run ./cmd/package --type=msi --enroll-secret=2exkBvZ6k4S+949LpNo7dKlGFjlqHWRS --fleet-url=<https://127.0.0.1:8080> --update-url=<http://localhost:8000> --update-roots='[{"keytype":"ed25519","scheme":"ed25519","keyid_hash_algorithms":["sha256","sha512"],"keyval":{"public":"d9facef058990d77fec014278de4f2d1d31a244707bd360b29ecb02b0536474d"}}]' --insecure
←[90m2021-09-09T18:36:21+05:30←[0m ←[1m←[31mFTL←[0m←[0m package failed ←[31merror=←[0m←[31m"initialize updates: failed to init updater: unmarshal root keys: invalid character 'k' looking for beginning of object key string"←[0m
exit status 1
I get this error on Windows.Martavis Parker
09/09/2021, 3:18 PMgo run ./cmd/package --type=pkg --fleet-url=localhost:8412 --insecure --enroll-secret=YOUR_FLEET_ENROLL_SECRET_HERE
Madhur Jodhwani
09/10/2021, 3:25 AMMartavis Parker
09/10/2021, 7:23 PMgo run ./cmd/package --type=msi --fleet-url=<https://127.0.0.1:8080> --insecure --enroll-secret=2exkBvZ6k4S+949LpNo7dKlGFjlqHWRS --update-url=<http://localhost:8000> --update-roots='[{"keytype":"ed25519","scheme":"ed25519","keyid_hash_algorithms":["sha256","sha512"],"keyval":{"public":"d9facef058990d77fec014278de4f2d1d31a244707bd360b29ecb02b0536474d"}}]'
Madhur Jodhwani
09/11/2021, 2:40 AM