just for now

This commit is contained in:
2024-12-10 00:51:04 +09:00
parent c4c4547706
commit 022291f5af
18 changed files with 311 additions and 32 deletions

View File

@ -18,6 +18,8 @@ def write_keys(name: str, private_key: str, public_key: str):
if __name__ == '__main__':
privA, pubA = generate_keys()
privB, pubB = generate_keys()
privC, pubC = generate_keys()
write_keys('alice', privA, pubA)
write_keys('bob', privB, pubB)
write_keys('mitm', privC, pubC)
print('Keys generated and written to files')