Skip to content

Conversation

@connectety
Copy link

@connectety connectety commented Apr 10, 2023

closes #12

Please also note there is:
https://github.com/RsaCtfTool/RsaCtfTool/blob/master/lib/fdb.py

I did not use or reference this, because its license might not be compatible with the MIT license of this project. And I also thought it might be faster to just write the code than reading licensing rules.

Tests

While trying to crack RSA keys, I often noticed even small numbers not being solved.
I think they could make for good tests.

I decided on 1024 because it used to be a commonly used RSA size.
Atfirst I used 2048, but it had some performance issues with generating the keys.

Todo

  • pycryptodome requirement for development.
  • should we do anything with the response.
  • should we check the factors before submitting the values?
  • submit_factors as static member, normal member or standalone function?
  • are f-strings ok, or do we support some python versions older than 3.6?

@connectety
Copy link
Author

I'm basically looking for feedback regarding the 4 open todos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API to submit factors to the database

1 participant