Shallot icon indicating copy to clipboard operation
Shallot copied to clipboard

ERROR: Failed to covert uint64_t to BIGNUM.

Open remotehelp opened this issue 10 years ago • 1 comments

After two days run shallot give: ERROR: Failed to covert uint64_t to BIGNUM.

remotehelp avatar Dec 13 '15 03:12 remotehelp

In the course of browsing through the code after coming across this project, I noticed this part in the code which will exit with the above mentioned error.

if(!BN_bin2bn(e_ptr, e_bytes, rsa->e)) // store our e in the actual key
    error(X_BIGNUM_FAILED);              // and make sure it got there

I find it rather inconvenient that Shallot will exit with an error rather than continue brute-forcing. I was going to submit a patch that would not produce an error but rather continue working, but I’m thinking whoever wrote the above line of code might know something I don’t. Is it worth continuing if we run into this problem?

TomCorwine avatar Mar 11 '17 21:03 TomCorwine