support for gpg or openssl encryption
removes async dependency