signingkey.go 669 B

12345678910111213141516171819
  1. // Copyright (C) 2015 The Syncthing Authors.
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5. // You can obtain one at https://mozilla.org/MPL/2.0/.
  6. package upgrade
  7. import _ "embed"
  8. // SigningKey is the public key used to verify signed upgrades. It must match
  9. // the private key used to sign binaries for the built in upgrade mechanism to
  10. // accept an upgrade. Keys and signatures can be created and verified with the
  11. // stsigtool utility. The build script creates signed binaries when given the
  12. // -sign option.
  13. //
  14. //go:embed signingkey.pem
  15. var SigningKey []byte