Skip to content

Instantly share code, notes, and snippets.

@celediel
Created June 14, 2011 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celediel/1024250 to your computer and use it in GitHub Desktop.
Save celediel/1024250 to your computer and use it in GitHub Desktop.
todo list error
Traceback (most recent call last):
File "./todolist.py", line 85, in <module>
main()
File "./todolist.py", line 68, in main
logged = newUser()
File "./todolist.py", line 28, in newUser
words = shadow.load(shadowfile,True,password)
File "/home/bread/Documents/code/python/todo/JsonEdit.py", line 43, in load
crypt.decrypt_file(key,thefile,thefile + '.dec')
File "/home/bread/Documents/code/python/todo/Encryptor.py", line 63, in decrypt_file
decryptor = AES.new(key, AES.MODE_CBC, iv)
ValueError: IV must be 16 bytes long
?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment