Fix param in gpg_key function