[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):
For extracting the ed25519 public key, I am removing the first 32 byte
from the binary and saving the remaining file like this:-
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)
I am currently adding the hardcoded path for testing, will chnage it in
the original file.
When I am printing the rest of the binary file, i do get the key i need,
however when I try to convert it to base64, i get the error "ValueError:
string argument should contain only ASCII characters", i tried searching
but could not get the satified answer. How should i go with the problem?
Kindly guide me.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33428#comment:9>
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