Traceback from RSA code when ~/.vomun/keys.json is missing

Bug #915767 reported by aj00200
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anonplus
Low
aj00200

Bug Description

Traceback (most recent call last):
  File "./tests.py", line 11, in <module>
    from unittests.code.libs.encryption.rsa import *
  File "/home/aj00200/anonplus/aj00200/src/unittests/code/libs/encryption/rsa.py", line 5, in <module>
    import libs.encryption.rsa
  File "/home/aj00200/anonplus/aj00200/src/libs/encryption/rsa.py", line 108, in <module>
    load_keys()
  File "/home/aj00200/anonplus/aj00200/src/libs/encryption/rsa.py", line 62, in load_keys
    print('Key file, %s, could not be loaded.' % sha256)
NameError: global name 'sha256' is not defined

Related branches

aj00200 (aj00200)
Changed in anonplus:
status: Confirmed → Fix Committed
aj00200 (aj00200)
Changed in anonplus:
milestone: build-7 → r212
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers