Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friz-zy/pass_etalon
Etalon file pass.py for passGui
https://github.com/friz-zy/pass_etalon
Last synced: 25 days ago
JSON representation
Etalon file pass.py for passGui
- Host: GitHub
- URL: https://github.com/friz-zy/pass_etalon
- Owner: Friz-zy
- Created: 2012-11-03T21:23:06.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-08T02:44:42.000Z (about 11 years ago)
- Last Synced: 2023-03-23T01:56:29.586Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pass - «associate password so simple»
Implementation of an algorithm generating and storing a passwords like this: "cf83e1357eefb8bdf1542850d66d8007". Written on python 2.7.
Used `sha512(sha512("salt" XOR "nick : site") XOR "pass")[:32]` algorithm, created by [Gist](https://gist.github.com/3334991) and modified [here](http://news.ycombinator.com/item?id=4374888).
It's an etalone and salt file for other programs.**How to:**
This script helps you generate unique passwords for sites, programs, etc...
At first start python will record unique salt in pass.py and run generating password. You need to enter nick, url of site and master password. New password will be displayed in console (or standart stdout). Just copy it.Src on [Github](http://friz-zy.github.com)
Code under **MIT license**For quick use copy to bash:
`python pass.py`
Or change 'pass.py' to you'r salt file and use:
`python -c "import hashlib, getpass;from itertools import cycle, izip;f = open('pass.py');salt = f.read();f.close();print hashlib.sha512(''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(hashlib.sha512(''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(salt, cycle(raw_input('nick:') + ' : ' + raw_input('site:'))))).hexdigest(), cycle(getpass.getpass())))).hexdigest()[:32]"`*Filipp Frizzy aka [email protected]*