From 05a6fde676e6436bd1e3d5dfe7de26889a69f0cb Mon Sep 17 00:00:00 2001 From: Nick Knize Date: Fri, 9 Apr 2021 15:14:33 -0500 Subject: [PATCH] Update Plugin Signing Key (#512) This commit updates the public_key.asc for verifying the signature of plugins in the InstallPluginCommand utility. The key details are as follows: e-mail: opensearch-infra@amazon.com key id: 0934A65836A51424 Signed-off-by: Nicholas Walter Knize --- .../plugins/InstallPluginCommand.java | 4 +- .../src/main/resources/public_key.asc | 77 ++++++++++++------- 2 files changed, 52 insertions(+), 29 deletions(-) diff --git a/distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java b/distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java index 669528c3d04..3fb11680200 100644 --- a/distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java +++ b/distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java @@ -605,7 +605,7 @@ class InstallPluginCommand extends EnvironmentAwareCommand { /** * Verify the signature of the downloaded plugin ZIP. The signature is obtained from the source of the downloaded plugin by appending - * ".asc" to the URL. It is expected that the plugin is signed with the Elastic signing key with ID D27D666CD88E42B4. + * ".asc" to the URL. It is expected that the plugin is signed with the OpenSearch signing key with ID 0934A65836A51424. * * @param zip the path to the downloaded plugin ZIP * @param urlString the URL source of the downloade plugin ZIP @@ -666,7 +666,7 @@ class InstallPluginCommand extends EnvironmentAwareCommand { * @return the public key ID */ String getPublicKeyId() { - return "D27D666CD88E42B4"; + return "0934A65836A51424"; } /** diff --git a/distribution/tools/plugin-cli/src/main/resources/public_key.asc b/distribution/tools/plugin-cli/src/main/resources/public_key.asc index 57fb72a35cf..7909907491b 100644 --- a/distribution/tools/plugin-cli/src/main/resources/public_key.asc +++ b/distribution/tools/plugin-cli/src/main/resources/public_key.asc @@ -1,29 +1,52 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: SKS 1.1.6 -Comment: Hostname: pgp.mit.ed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