Onion Public Key

D M dmjr4007 at gmail.com
Tue Aug 26 20:54:34 UTC 2008


I am unable to read an Onion Public Key using the following OpenSSL
command(the public key file is named pub):

openssl rsa -in pub -text -pubin

This command produces the following errors:

$ openssl rsa -text -in k -pubin
unable to load Public Key
2428:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tag:tasn_dec.c:
1294:
2428:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:ta
sn_dec.c:380:Type=X509_ALGOR
2428:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested
asn1 e
rror:tasn_dec.c:749:Field=algor, Type=X509_PUBKEY
2428:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:


Any ideas on how to get this to work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20080826/bc5a0ea7/attachment.htm>


More information about the tor-talk mailing list