[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #33428 [Core Tor/Chutney]: Make chutney check for relay microdescriptors before verifying



#33428: Make chutney check for relay microdescriptors before verifying
-------------------------------------------+-------------------------------
 Reporter:  teor                           |          Owner:  (none)
     Type:  enhancement                    |         Status:  new
 Priority:  Medium                         |      Milestone:
Component:  Core Tor/Chutney               |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  ipv6, prop311, outreachy-ipv6  |  Actual Points:
Parent ID:  #33050                         |         Points:  1
 Reviewer:                                 |        Sponsor:  Sponsor55-can
-------------------------------------------+-------------------------------

Comment (by anuradha1904):

 This is the code that I wrote: -
 with
 open("/home/anuradha/chutney/net/nodes/000a/keys/ed25519_master_id_public_key",
 'r', errors = 'ignore') as f:
    f.seek(32)
    rest = f.read()
    print(rest)
    EncodedZip = base64.b64encode(rest)
    print(EncodedZip)

 I am able to print the key that is required but I am not able to perform
 any encoding on it, it gives the error "ValueError: string argument should
 contain only ASCII characters".

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33428#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs