1
0
mirror of https://github.com/PurpleI2P/pyseeder synced 2025-03-13 05:41:23 +00:00

remove test code

This commit is contained in:
R4SAS 2022-02-16 19:47:43 +00:00
parent 5eb614be66
commit 7947f42598

View File

@ -49,14 +49,7 @@ class SU3File:
self.OUTPUT += self.SIGNER_ID.encode("utf-8")
self.OUTPUT += self.CONTENT
with open(filename + "-data", "wb") as f:
f.write(self.OUTPUT)
signature = pyseeder.crypto.get_signature(self.OUTPUT, priv_key, priv_key_password)
with open(filename + "-sig", "wb") as f:
f.write(signature)
self.OUTPUT += signature
with open(filename, "wb") as f: