gpg: update _list_keys to support ECC keys