work on net controller
This commit is contained in:
parent
388752c079
commit
9d91e77ec5
4 changed files with 26 additions and 7 deletions
|
@ -20,7 +20,7 @@
|
|||
import sqlite3, os, time, math, gnupg, base64, tarfile, getpass, simplecrypt
|
||||
from Crypto.Cipher import AES
|
||||
from Crypto import Random
|
||||
|
||||
import netcontroller
|
||||
|
||||
class Core:
|
||||
def __init__(self):
|
||||
|
@ -155,4 +155,4 @@ class Core:
|
|||
generate and return an HMAC key
|
||||
'''
|
||||
key = base64.b64encode(os.urandom(32))
|
||||
return key
|
||||
return key
|
Loading…
Add table
Add a link
Reference in a new issue