There is an audited GPG rust library which could be used to get rid of the GnuPG dependency. https://github.com/rpgp/rpgp