Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passwords are not correctly read #27

Closed
oz123 opened this issue Mar 31, 2014 · 1 comment
Closed

passwords are not correctly read #27

oz123 opened this issue Mar 31, 2014 · 1 comment

Comments

@oz123
Copy link
Member

oz123 commented Mar 31, 2014

Pwman3 0.5-dev (c) visit: http://github.com/pwman3/pwman3
pwman> ls
Please enter your password:
Please enter your password:
Traceback (most recent call last):
File "./scripts/pwman3", line 187, in
cli.cmdloop()
File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "/home/ozdeb/software/pwman3/pwman/ui/base.py", line 654, in do_ls
self.do_list(args)
File "/home/ozdeb/software/pwman3/pwman/ui/base.py", line 497, in do_list
name = "%s@%s" % (n.username, n.url)
File "/home/ozdeb/software/pwman3/pwman/data/nodes.py", line 79, in username
return enc.decrypt(self._username).strip()
File "/home/ozdeb/software/pwman3/pwman/util/crypto.py", line 190, in decrypt
cipher = self._getcipher()
File "/home/ozdeb/software/pwman3/pwman/util/crypto.py", line 327, in _getcipher
key = str(key).decode('base64')
File "/usr/lib/python2.7/encodings/base64_codec.py", line 42, in base64_decode
output = base64.decodestring(input)
File "/usr/lib/python2.7/base64.py", line 321, in decodestring
return binascii.a2b_base64(s)
binascii.Error: Incorrect padding

@oz123
Copy link
Member Author

oz123 commented Aug 2, 2014

Not reproducebable. Trunk is so far a head, it makes no sense following it.
Also, because of the Python 3 compatibility being worked on at the moment,
the handling of strigs is being modified, so chances are that this bug is already
fixed.

@oz123 oz123 closed this as completed Aug 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant