From 3957d3dc55c426e46886cc4ca20de138c37fb0b3 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 23 Feb 2017 15:12:11 +0100 Subject: [PATCH] include official release gpg key --- tools/build/config.go | 5 +++ tools/release/verify/official_release.asc | 52 +++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 tools/release/verify/official_release.asc diff --git a/tools/build/config.go b/tools/build/config.go index 87362ac5..6fbf6a7f 100644 --- a/tools/build/config.go +++ b/tools/build/config.go @@ -25,6 +25,11 @@ func copyConfigFile(src, dest string, goOS GoOS, format bool) error { func copyConfigFiles(dir string, goOS GoOS) error { GOPATH := os.Getenv("GOPATH") + verifyDir := filepath.Join(GOPATH, "src", "v2ray.com", "core", "tools", "release", "verify") + if err := copyConfigFile(filepath.Join(verifyDir, "official_release.asc"), filepath.Join(dir, "official_release.asc"), goOS, false); err != nil { + return err + } + srcDir := filepath.Join(GOPATH, "src", "v2ray.com", "core", "tools", "release", "config") src := filepath.Join(srcDir, "vpoint_socks_vmess.json") dest := filepath.Join(dir, "vpoint_socks_vmess.json") diff --git a/tools/release/verify/official_release.asc b/tools/release/verify/official_release.asc new file mode 100644 index 00000000..2f25b8da --- /dev/null +++ b/tools/release/verify/official_release.asc @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: GPGTools - https://gpgtools.org + +mQINBFiuFLcBEACtu5pycj7nHINq9gdkWtQhOdQPMRmbWPbCfxBRceIyB9IHUKay +ldKEAA5DlOtub2ao811pLqcvcWMN61vmwDE9wcBBf1BRpoTb1XB4k60UDuCH4m9u +r/XcwGaVBchiO8mdqCpB/h0rGXuoJ2Lqk4kXmyRZuaX2WUg7eOK9ZfslaaBc8lvI +r5UvY7UL39LtzvOhQ+el2fXhktwZnCjDlovZzRVpn0QXXUAnuDuzCmd04NXjHZZB +8q+h7jZrPrNusPzThkcaTUyuMqAHSrn0plNV1Ne0gDsUjGIOEoWtodnTeYGjkodu +qipmLoFiFz0Msd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