Gnupg1 Ubuntu 18.04 and above

For Ubuntu 18.04

apt install gpg gnupg1 shopt -s expand_aliases alias gpg='gpg1' ln -s /usr/bin/gpg1 /usr/local/bin/gpg

test

в скрипте mksign.sh

gpg --list-keys

заменить на

gpg --list-options no-show-uid-validity --list-keys