Skip to content

Instantly share code, notes, and snippets.

@alikins
Created October 15, 2009 21:20
Show Gist options
  • Save alikins/211295 to your computer and use it in GitHub Desktop.
Save alikins/211295 to your computer and use it in GitHub Desktop.
Password:
Traceback (most recent call last):
File "bin/rho", line 22, in <module>
CLI().main()
File "/home/adrian/src/rho/src/rho/cli.py", line 95, in main
cmd.main()
File "/home/adrian/src/rho/src/rho/clicommands.py", line 84, in main
self.config = self._read_config(self.options.config, self.passphrase)
File "/home/adrian/src/rho/src/rho/clicommands.py", line 64, in _read_config
confstr = crypto.read_file(filename, passphrase)
File "/home/adrian/src/rho/src/rho/crypto.py", line 141, in read_file
return_me = decrypt(f.read(), key)
File "/home/adrian/src/rho/src/rho/crypto.py", line 112, in decrypt
return_me = unpad(decrypted_plaintext)
File "/home/adrian/src/rho/src/rho/crypto.py", line 73, in unpad
if plaintext[-1] in ['1', '2', '3', '4', '5', '6', '7']:
IndexError: string index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment