work on net controller

This commit is contained in:
Kevin Froman 2018-01-19 03:16:38 -06:00
parent 388752c079
commit 9d91e77ec5
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
4 changed files with 26 additions and 7 deletions

View file

@ -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