Hi, I try to verify the file 'data'. The signature is in file 'sig' and the public key in 'pub_key.pem'
But it fails. Can someone please help me? What I am doing wrong? u...@host> bin/openssl pkeyutl -verify -in data -sigfile sig -pubin -inkey pub_key.pem Public Key operation error 139738714994328:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1320: 139738714994328:error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested asn1 error:tasn_dec.c:832: 139738714994328:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:752:Field=r, Type=DSA_SIG Version: OpenSSL 1.0.0-beta5 20 Jan 2010 The files are attached (the are only a few bytes) Thomas PS: I can't access the code which creates the signature file. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de
e7ee41351eff3b5a913ae391dc85a387b2becfc6
pub_key.pem
Description: application/x509-ca-cert
sig
Description: Binary data
