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
642effa07b
Add verbose mode flag
2012-09-08 17:13:36 -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
4ae843f18e
Erase memory that might contain sensitive info
2012-09-03 16:44:24 -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
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
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
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
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
84c31465be
Rename executable and change usage message
2012-09-02 14:40:01 -07:00
Chris Oei
1acdffde66
Import scrypt-1.1.6.tgz with SHA-256
...
dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8
2012-09-02 11:29:39 -07:00