Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 1c9c951

Browse files
committed
Remove the hardcoded amazon-ssm-agent fingerprint validation from ecs-anywhere-install.sh
1 parent 8f9f181 commit 1c9c951

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/ecs-anywhere-install.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,6 @@ ssm-agent-signature-verify() {
372372
fi
373373

374374
curl-helper "$dir/amazon-ssm-agent.gpg" "https://raw.githubusercontent.com/aws/amazon-ecs-init/master/scripts/amazon-ssm-agent.gpg"
375-
local fp
376-
fp=$(gpg --quiet --with-colons --with-fingerprint "$dir/amazon-ssm-agent.gpg" | awk -F: '$1 == "fpr" {print $10;}')
377-
echo "$fp"
378-
if [ "$fp" != "8108A07A9EBE248E3F1C63F254F4F56E693ECA21" ]; then
379-
echo "amazon-ssm-agent GPG public key fingerprint verification fail. Stop the installation of the amazon-ssm-agent. Please contact AWS Support."
380-
fail
381-
fi
382375
gpg --import "$dir/amazon-ssm-agent.gpg"
383376

384377
if gpg --verify "$1" "$2"; then

0 commit comments

Comments
 (0)