stealthy icon indicating copy to clipboard operation
stealthy copied to clipboard

Few questions

Open alicektx opened this issue 3 years ago • 0 comments

Hi - wonderful program, thank you for releasing such out there! Just wanted to pose a couple of questions - and maybe also a request.

  1. Project seems to not contain a licence file? (i understand that this might very well be released on an 'as is' basis, since i noticed it though, i thought of mentioning it)...

  2. Does it work correctly with libressl instead of openssl? Have you ever tested such? It links fine against it, however, considering all the crypto-related possible implications, i thought of querying about it directly (and be 'better safe than sorry' etc)...

  3. Not really important either since all the rest works fine, but... When simply running stealthy -h (built from latest git commit), it returns:

thread 'main' panicked at 'Cannot parse arguments', src/main.rs:286:34 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

This is a...kinda scary message to encounter i believe, when running a program for the very first time ever... Not really being familiar with Rust, i googled a bit about it on the net, and then somewhat modified main.rs:

+use std::process::exit;
- let args = parse_arguments().expect("Cannot parse arguments");
+ let args = parse_arguments().unwrap_or_else(|| exit(2));

(yes...i know...that was a rather simplistic tweak / hack) :-) In any case, it would be nice if at some point, getopts etc. didn't returned Rust's internal panic / backtrace message on -h, --help, but maybe instead returned a user-friendlier error or something...

Sorry for coming up with 3 different points in one single post (didn't really felt appropriate making 3 separate "issues" for such though, the first two of them are just questions after all...)

All the best

alicektx avatar Jul 07 '21 05:07 alicektx