I am doing gpg encryption in streamsets pipeline using shell stage with the below command.
gpg -r <keyid> -e <filename>
Its working fine in the lower environments without any issues but when I try the same in the higher environments it is throwing error as gpg: skipped : no public key even though I imported the public key in server. can someone help me with this