aws / amazon-ecs-init

Amazon Elastic Container Service RPM
http://aws.amazon.com/ecs
Apache License 2.0
200 stars 118 forks source link

install script: check if dirmngr is installed before checking signature #415

Closed fenxiong closed 3 years ago

fenxiong commented 3 years ago

Summary

Small fix in install script: check if dirmngr is installed before checking ecs init package signature. To import key with gpg --key-server, dirmngr needs to be installed. It is installed on most platforms by default but might not be installed on debian

Implementation details

Fix by checking dirmngr installed or not before verifying signature.

Testing

Tessted on all ecs anywhere platforms. Fixed error on debian.

Description for the changelog

N/A

Licensing

This contribution is under the terms of the Apache 2.0 License: