Fix param of gpg_key function