Commit Graph

8 Commits

Author SHA1 Message Date
Michal Nazarewicz
f252886b95 Handle non-200 status codes explicitly 2019-03-13 01:38:33 +00:00
Michal Nazarewicz
6955575a64 Vary exit status based on whether leaked password was found 2019-03-13 01:38:05 +00:00
Michal Nazarewicz
068f0832f7 Support reading passwords from standard input 2019-03-13 01:37:42 +00:00
Michal Nazarewicz
366b730905 Support checking multiple passwords with a single invocation 2019-03-13 01:27:05 +00:00
Michal Nazarewicz
df6a0f1007 Add ‘__name__ == __main__’ guard so the file can be imported 2019-03-13 01:26:20 +00:00
Michal Nazarewicz
19fd5102cb Remove unnecessary dependency on pyca
Python’s built-in hashlib is capable of calculating SHA1.  There’s
no need to depend on a third party library which may or may not be
available.
2019-03-13 00:39:52 +00:00
Michael Pound
80f2da2f03 Code added 2019-03-12 21:41:07 +00:00
Michael Pound
1025d72d83
Initial commit 2019-03-12 21:38:34 +00:00