<div>I am unable to read an Onion Public Key using the following OpenSSL command(the public key file is named pub):</div>
<div>&nbsp;</div>
<div>openssl rsa -in pub -text -pubin</div>
<div>&nbsp;</div>
<div>This command produces the following errors:</div>
<div>&nbsp;</div>
<div>$ openssl rsa -text -in k -pubin<br>unable to load Public Key<br>2428:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:<br>1294:<br>2428:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:ta<br>
sn_dec.c:380:Type=X509_ALGOR<br>2428:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 e<br>rror:tasn_dec.c:749:Field=algor, Type=X509_PUBKEY<br>2428:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:</div>

<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Any ideas on how to get this to work?</div>
<div>&nbsp;</div>