Skip to content
Snippets Groups Projects
Commit c67dd84c authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Updated SDK

parent b0deee01
No related branches found
No related tags found
No related merge requests found
Subproject commit 2d3cc18ea3eb01369aa95e5de4d926d27e694c10 Subproject commit 3cbb19cd5483dfee7c1bb68bbe88027e2be9a282
#!/usr/bin/python3 #!/usr/bin/python3
from CellFrame import init, Cert, CryptoKeyType from CellFrame import init, Cert, CryptoKeyType
from string import Template # from string import Template
import os # import os
import sys import sys
import json import json
import MyAuthConf import MyAuthConf
...@@ -24,12 +24,13 @@ except json.decoder.JSONDecodeError as jex: ...@@ -24,12 +24,13 @@ except json.decoder.JSONDecodeError as jex:
exit(-1) exit(-1)
# Produce random string
def randomString(stringLength=10): def randomString(stringLength=10):
"""Generate a random string of fixed length """ """Generate a random string of fixed length """
letters = string.ascii_lowercase letters = string.ascii_lowercase
return ''.join(random.choice(letters) for i in range(stringLength)) return ''.join(random.choice(letters) for i in range(stringLength))
# Action Help # Action Help
def help(): def help():
print("CA managment script usage: ") print("CA managment script usage: ")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment