-
Notifications
You must be signed in to change notification settings - Fork 86
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
Verbose output is suppressed by warning #316
Comments
Some additional thoughts. I changed the following before testing: % diff scrypt-master/lib/scryptenc/scryptenc.c scrypt/lib/scryptenc/scryptenc.c
203a204,206
> if (verbose)
> display_params(logN, r, p, memlimit, opps, maxtime);
>
214d216
< }
216,217c218,220
< if (verbose)
< display_params(logN, r, p, memlimit, opps, maxtime);
---
> if (verbose)
> display_params(logN, r, p, memlimit, opps, maxtime);
> } % diff scrypt-master/lib-platform/util/memlimit.c scrypt/lib-platform/util/memlimit.c
29a30,31
> #define DEBUG
> OS: FreeBSD 13
|
Thank you, @msimonsson! I made some embarrassing mistakes here. Fixes in #317. Two small notes:
|
That was fast, thank you!
The way I see it In mode (a) you can use In mode (b) you must use P.S. I just noticed the redundant "bytes" in the |
Aha, I see what you mean now! (As you may have noticed, specifying explicit The latest decision (on 2020-07-19) about warnings is "if you specify explicit parameters, you get what you asked for but you might also get a warning". If you add
That seems like a decent compromise to me, but I don't have strong feelings about this topic. I like the idea of explicit parameters implying Thanks for these bug reports and checking, @msimonsson! |
Sounds good to me! (Maybe this Great reply as always @gperciva! |
scrypt enc --logN 20 -p 1 -r 8 -v -- test test.scrypt
scrypt enc --logN 21 -p 1 -r 8 -v -- test test.scrypt
P.S. There is a typo in the man page for the verbose option
--v
(double-dash) not-v
.The text was updated successfully, but these errors were encountered: