Hi I do not know about your main trouble, but for getting the fingerprint you could try: gpg --with-fingerprint < "public_key_file" That works for me. //Samuel