Skip to content

Clipboard fix; python3 support; unit tests#6

Open
aramboi wants to merge 18 commits intoabbot:masterfrom
aramboi:master
Open

Clipboard fix; python3 support; unit tests#6
aramboi wants to merge 18 commits intoabbot:masterfrom
aramboi:master

Conversation

@aramboi
Copy link

@aramboi aramboi commented Aug 8, 2016

This PR is built on this fork of the project: https://github.com/pywkm/pwdhash

Fixed:

  • clipboard not working under Ubuntu 16.04 (gtk3 related issue)
  • short passwords
  • removed build files

Added:

  • pyperclip dependency (for cross-platform clipboard support)
  • .gitignore file
  • python3 support
  • unit tests, static analysis via tox
  • Travis CI integration conf file (ex. for my fork here https://travis-ci.org/aramboi/pwdhash)

Running tests:

(venv) $ pip install tox
(venv) $ tox

pywkm and others added 18 commits September 12, 2015 14:38
Now script works also with unicode characters in password string
due to resolved string-bytes encoding issues.
For master password shorter than 2 chars script didn't generate same
result (hashed password) as original JS script from Stanford.
- Script properly generates hash when unicode password provided
- Tests for unicode passwords added
- Main script slightly refactored
- Consistency with quotes
- Script works on Python 3.6 so it's added to `tox.ini`
- Bugfix for unicode in Py2 passed from commandline
- Make untested functions private
Travis integration test
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

Successfully merging this pull request may close these issues.

2 participants