Commit d4444630 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

add iso formatting to timestamp

parent 17b99c19
......@@ -203,7 +203,7 @@ def make_seed():
if valid != None and valid:
# save current timestamp
timestamp = datetime.now(tzutc())
seed = jsonify(timestamp=timestamp, ticket=str(body)).data
seed = jsonify(timestamp=timestamp.isoformat(), ticket=str(body)).data
# sign seed with AES encryption
cipher = AES.new(seedKey, AES.MODE_EAX)
ciphertext, tag = cipher.encrypt_and_digest(seed)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment