9e363e9311
Make repeating password optional with -r
...
This is useful when creating a new password, but annoying when just
using it to calculate the password to log in.
2014-09-22 21:00:50 +02:00
56848a00a1
test/test.bash: Use new -v option
2014-09-20 00:31:34 +02:00
9c17ea513a
Add verbose mode
...
hex is only printed in verbose mode.
This also includes some API redesign to pass the sg_parms struct
directly instead of extracting each field of it and passing it manually.
2014-09-18 14:02:24 +02:00
Chris Oei
6011dff707
Update usage message
2012-09-08 17:39:35 -07:00
Chris Oei
35fcbda1b3
Clean up unused variable
2012-09-08 17:32:25 -07:00
Chris Oei
39027291be
Put parameters in struct
2012-09-08 17:30:28 -07:00
Chris Oei
74d492b50d
Convert tabs to spaces
2012-09-08 17:17:34 -07:00
Chris Oei
80506f18fe
Add sg_parms struct
2012-09-08 17:13:48 -07:00
Chris Oei
642effa07b
Add verbose mode flag
2012-09-08 17:13:36 -07:00
Chris Oei
871befaf01
Updated tests
2012-09-08 16:58:33 -07:00
Chris Oei
319476532b
Report commit hash in usage message
2012-09-08 13:12:32 -07:00
Chris Oei
2519ab4e30
Bug fix in options parsing
2012-09-08 13:11:54 -07:00
Chris Oei
d93ca58d76
Add -n flag for outputting numbers only (for PINs, etc.)
2012-09-08 09:53:27 -07:00
Chris Oei
f9f61afa4c
Change default password length to 16
2012-09-08 09:33:21 -07:00
Chris Oei
3ea938e687
Tweaked README.md
2012-09-04 08:26:15 -07:00
Chris Oei
4ae843f18e
Erase memory that might contain sensitive info
2012-09-03 16:44:24 -07:00
Chris Oei
4e034e399b
Updated README.md to mention the GitHub wiki page
2012-09-03 15:23:16 -07:00
Chris Oei
395b11b807
Add simple algorithm for converting result hash to password
2012-09-03 13:55:29 -07:00
Chris Oei
b3d2d92c81
Add more tests to test script
2012-09-03 12:54:51 -07:00
Chris Oei
da50aec4a2
Add testing script
2012-09-03 12:40:59 -07:00
Chris Oei
33ada0d71f
Add SHA256 test to internal unit tests
2012-09-03 12:40:30 -07:00
Chris Oei
6c07183650
Fix compile warning for reading password
2012-09-03 12:40:08 -07:00
Chris Oei
0e63a1f69d
Fixed error handling for unreadable keyfiles
2012-09-03 12:29:55 -07:00
Chris Oei
30c7739e93
Changed output format slightly
2012-09-03 11:57:18 -07:00
Chris Oei
6f3198f14d
Clean up some debugging code
2012-09-03 11:55:31 -07:00
Chris Oei
205ca9df63
Make types more robust
2012-09-03 11:50:02 -07:00
Chris Oei
466c5a69e5
Bug fix in option parsing
2012-09-03 11:49:45 -07:00
Chris Oei
3dd81551c6
Add keyfile support. Not entirely working yet.
2012-09-03 10:41:14 -07:00
Chris Oei
5a3a8506fc
Bug fixes in display code
2012-09-03 00:57:10 -07:00
Chris Oei
a3b016ceed
Add -p option and fixed memory bug
2012-09-02 22:53:50 -07:00
Chris Oei
d8d6735872
Create salt using SHA256 of site name
2012-09-02 22:08:52 -07:00
Chris Oei
87ba1c22e9
Fixed comment in FORMAT file
2012-09-02 20:56:42 -07:00
Chris Oei
468d273091
Use default of 32 mega-operations instead of just 5
2012-09-02 20:56:24 -07:00
Chris Oei
f9df788285
Fix warn_progname
2012-09-02 20:43:08 -07:00
Chris Oei
685cc4969d
Fix usage message
2012-09-02 20:42:52 -07:00
Chris Oei
218ea0dc9d
Re-define mega as 1024 * 1024 instead of 1000 * 1000
2012-09-02 20:40:05 -07:00
Chris Oei
f40668e4ef
Use a constant salt so that entering a site and master password
...
will always yield the same result.
2012-09-02 20:34:54 -07:00
Chris Oei
162bda494e
Maximum memory and operations now both uint32
2012-09-02 20:19:20 -07:00
Chris Oei
d496cad407
Remove fraction of total memory as a command line opt
2012-09-02 20:10:20 -07:00
Chris Oei
de5e211d56
Remove unused AES encryption routines
2012-09-02 19:49:55 -07:00
Chris Oei
8ee6e37953
Replace -t TIME param with -o mega-operations
2012-09-02 19:46:30 -07:00
Chris Oei
63fa3d2a24
Show the derived key
2012-09-02 19:30:02 -07:00
Chris Oei
2140db3ac8
Remove extraneous scryptenc library and have main call genpass instead
2012-09-02 19:22:41 -07:00
Chris Oei
dbe6b6cdc2
Remove unused encryption/decryption routines from genpass
2012-09-02 19:01:02 -07:00
Chris Oei
324f7a8124
Copy scryptenc.{c,h} to genpass.{c,h}
2012-09-02 14:44:26 -07:00
Chris Oei
84c31465be
Rename executable and change usage message
2012-09-02 14:40:01 -07:00
Chris Oei
94ad3ccf79
Update .gitignore
2012-09-02 11:33:27 -07:00
Chris Oei
1acdffde66
Import scrypt-1.1.6.tgz with SHA-256
...
dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8
2012-09-02 11:29:39 -07:00
Chris Oei
b490e825f3
Initial commit consists of a README.md and .gitignore
2012-09-02 11:26:03 -07:00