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

3EgNC6"DuC6S #1

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5875e2d
support bcrypt and base85
cmcnulty Aug 8, 2012
80a39e7
Update scripts/main.js
cmcnulty Aug 8, 2012
59d7e9c
fixed bugs
cmcnulty Aug 8, 2012
0ceb481
fix line endings?
cmcnulty Aug 8, 2012
8c21e6f
code re-org
cmcnulty Aug 8, 2012
3a3b39e
removed extra files
cmcnulty Aug 8, 2012
b4c4836
moved files
cmcnulty Aug 9, 2012
23ef619
migrated png to uri
cmcnulty Aug 9, 2012
4a4bb15
ie8 doesn't support negative substr param
cmcnulty Aug 9, 2012
d667583
made bcrypt cost configurable
cmcnulty Aug 9, 2012
b608c0e
just some css tweaks
cmcnulty Aug 10, 2012
47cfeab
bunch of stuff
cmcnulty Aug 10, 2012
3a00e80
adds a new identicon among other things
cmcnulty Aug 12, 2012
027a96d
switched from anon to named functions
cmcnulty Aug 12, 2012
a41d222
fix bug with html being parsed.
cmcnulty Aug 12, 2012
60dd241
fix IE8 again
cmcnulty Aug 13, 2012
8e27a7c
code cleanup
cmcnulty Aug 14, 2012
a731766
Merge remote-tracking branch 'SuperGenPassChris/master'
cmcnulty Aug 16, 2012
d18572b
Merge remote-tracking branch 'SuperGenPassChris/master'
cmcnulty Aug 16, 2012
7443788
save Cost on change, rather than on generate
cmcnulty Aug 16, 2012
4cd7140
Merge remote-tracking branch 'SuperGenPassChris/master'
cmcnulty Aug 17, 2012
6ce5822
more code cleanup
cmcnulty Aug 17, 2012
4948a63
just changing some comments
cmcnulty Aug 17, 2012
08ea86a
update salt and icon on change
cmcnulty Aug 17, 2012
6e5626e
update password icon on change
cmcnulty Aug 17, 2012
0927eef
fix changing identicon bug
cmcnulty Aug 17, 2012
a6015c3
cache jquery objects better
cmcnulty Aug 17, 2012
6662578
move the identicons around a bit
cmcnulty Aug 19, 2012
bdbdd75
fixes opera issue with .ready order
cmcnulty Aug 20, 2012
3244bfe
One Step Back
labnol Aug 27, 2012
a63f281
GNU
labnol Aug 27, 2012
72e22bf
Readme
labnol Aug 27, 2012
c97642d
Updated
labnol Aug 27, 2012
527046f
Added few helpful links
labnol Aug 27, 2012
0c6c108
Updated Github address
labnol Aug 27, 2012
ef2ee40
Formatting
labnol Aug 27, 2012
a54eb1a
Resources
labnol Aug 27, 2012
d44cee3
Formatting
labnol Aug 27, 2012
06eefad
Updated links
labnol Aug 27, 2012
f492dd2
Formatting fixed
labnol Aug 27, 2012
35fcd5f
New Version
labnol Dec 14, 2013
3c08e71
New Version
labnol Dec 14, 2013
c452fa4
Local instance
labnol Dec 14, 2013
68c93d5
Help Section Added
labnol Dec 14, 2013
06a02da
Single Page App
labnol Dec 14, 2013
04eafc0
Added Android App
labnol Dec 15, 2013
c30ab07
Fixed typo
labnol Dec 15, 2013
08c2e0c
Password Length fixed
labnol Dec 25, 2013
5de39b8
Chrome Addon
labnol Dec 25, 2013
76c4db8
Update config.xml
mskian Feb 21, 2018
e198b78
Updated secret key input to be of type password
gupta-ji6 Oct 15, 2019
a96e373
Merge pull request #4 from mskian/master
labnol Oct 28, 2020
0e94d71
Merge pull request #5 from gupta-ji6/hide-key
labnol Oct 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Unique Passwords
================

You can use the [password generator][1] to create strong but unique passwords for all your web accounts. It internally uses the bcrypt algorithm for hashing.

###How to Use

Go to [ctrlq.org/passwords][1] to test a live version of the password generator.

1. Enter the account login of any website in the User Name field (case insensitive)
2. Put the website name in the domain field (case insensitive). Do not include any suffix or prefix in the domain name - for instance, use google and not google.com.
3. Choose a password length.
4. Think of a secret passphrase - do include digits, letters and symbols in your passphrase and never share it with anyone.

Just write the passphrase (case insensitive) in the input field and hit generate to get you your unique password for that particular site.

### Mobile Version

The password generator uses [responsive design][2] and therefore works across all screens including mobile phones and tablets. All it requires is a web browser with JavaScript enabled.

### Offline Version

You can also download the password generator for offline use. Just extract the zip file and double-click index.html to launch program. For added security, you may [password-protect the folder][3] or place the folder inside Dropbox and [secure with 2-factor verification][4].

### Authors

* Amit Agarwal: http://twitter.com/labnol
* Digital Inspiration: http://www.labnol.org/

### Credits

* SuperGenPass [https://github.com/cmcnulty/SuperGenPass](https://github.com/cmcnulty/SuperGenPass)
* BCrypt [http://en.wikipedia.org/wiki/Bcrypt](http://en.wikipedia.org/wiki/Bcrypt)

#### License

Copyright 2012-2013 Digital Inspiration
Licensed under the Apache License,
Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

[1]: http://ctrlq.org/passwords/
[2]: http://www.labnol.org/internet/responsive-web-design-faq/21361/
[3]: http://www.labnol.org/software/password-protect-folders-files/14323/
[4]: http://www.labnol.org/internet/secure-dropbox-account/25096/
25 changes: 25 additions & 0 deletions android/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "org.ctrlq.passwords"
version = "1.2.2">

<name>Secure Passwords</name>

<description>
Generate strong and unique passwords for all your online accounts.
</description>

<author href="http://www.labnol.org/" email="[email protected]">
Amit Agarwal
</author>

<preference name="phonegap-version" value="cli-6.5.0" />
<preference name="permissions" value="none"/>
<preference name="fullscreen" value="true" />

<gap:platform name="android" />
<icon src="icon.png" />

</widget>
128 changes: 128 additions & 0 deletions android/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
* {
box-sizing: border-box;
}
*:focus {
outline: none;
}
body {
font-family: Arial;
background-color: #3498DB;
padding: 30px 10px;
}
.login {
margin: 20px auto;
width: 300px;
}
.login-screen {
background-color: #FFF;
padding: 20px;
border-radius: 5px
}


.app-title {
text-align: center;
color: #777;
font-size: 12px;
text-transform: uppercase;
font-family: courier;
}
.login-form {
text-align: center;
}
.control-group {
margin-bottom: 10px;
}
#outputInfo {
color: red;
font-family: arial;
font-size: 11px;
}
#outputPassword {
background-color: #ff9;
}
.tt-dropdown-menu {
background-color: #ECF0F1;
border: 1px solid #3498DB;
text-align: left;
width: 250px;
padding: 0 0 0 10px;
font-size: 15px;
}
input {
text-align: center;
background-color: #ECF0F1;
border: 2px solid transparent;
border-radius: 3px;
font-size: 16px;
font-weight: 200;
padding: 10px 0;
width: 250px;
transition: border .5s;
}
input:focus {
border: 2px solid #3498DB;
box-shadow: none;
}
.btn {
border: 2px solid transparent;
background: #3498DB;
color: #ffffff;
font-size: 16px;
line-height: 25px;
padding: 10px 0;
text-decoration: none;
text-shadow: none;
border-radius: 3px;
box-shadow: none;
transition: 0.25s;
display: block;
width: 250px;
margin: 0 auto;
}
.btn:hover {
background-color: #2980B9;
}
.help {
margin: 10px auto;
padding: 10px 0;
width: 250px
}
.left {
float: left;
}
.right {
float: right;
}
.login-link {
font-size: 12px;
color: #444;
display: block;
}
#info {
display: none;
margin: 10px 0;
}
#info.active {
display: block;
}
h2,
h3 {
font-family: courier;
font-size: 16px;
color: #444;
}
p {
font-size: 14px;
color: #666;
}
#modal-footer {
text-align: center;
background-color: yellow;
color: black;
}
.credit {
font-family: arial;
font-size: 10px;
line-height: 16px;
}
Binary file added android/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions android/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>


<!--
Copyright (c) 2013 by Amit Agarwal (http://ctrlq.org/passwords/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/styles.css" />
</head>
<body>
<div id="mainPopup">
<div class="login">
<div class="login-screen">
<div class="app-title">
<h1>Secure Passwords</h1>
</div>

<div class="login-form">
<div class="control-group">
<input autocorrect="off" spellcheck="false" type="text" class="login-field userInput notstored" value="" placeholder="username" id="inputUser">
<label class="login-field-icon fui-user" for="login-name"></label>
</div>

<div class="control-group">
<input autocorrect="off" spellcheck="false" type="text" class="login-field userInput typeahead notstored" value="" placeholder="web domain" id="inputDomain">
<label class="login-field-icon fui-lock" for="login-pass"></label>
</div>

<div class="control-group">
<input autocorrect="off" spellcheck="false" type="text" class="login-field userInput stored" value="" placeholder="password length" id="inputLength">
<label class="login-field-icon fui-lock" for="login-pass"></label>
</div>

<div class="control-group">
<input autocorrect="off" spellcheck="false" type="text" class="login-field userInput stored" value="" placeholder="secret key" id="inputPhrase">
<label class="login-field-icon fui-lock" for="login-pass"></label>
</div>

<div class="control-group" id="outputInfo">
</div>

<div class="control-group">
<a class="btn btn-primary btn-large btn-block" href="#" id="showPassword">show password</a>
</div>

<div class="control-group">
<input size="30" autocorrect="off" spellcheck="false" style="display:none" type="text" class="login-field" value="" placeholder="your password" id="outputPassword">
</div>

<div class="control-group help">
<a class="login-link left whatisthis" href="http://ctrlq.org/passwords/" target="_blank">web version</a>
<a class="login-link right deletecache" href="#">reset</a>
</div>

</div>
</div>
</div>
</div>
<script src="js/scripts.js"></script>
</body>
</html>
167 changes: 167 additions & 0 deletions android/js/scripts.js

Large diffs are not rendered by default.

Loading