Skip to content
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

Bugfix/set id service #198

Merged

Conversation

EdwardLarson
Copy link
Collaborator

One sentence summary of this PR (This should go in the CHANGELOG!)
Fix long-broken OFRAK.set_id_service

Link to Related Issue(s)
set_id_service is supposed to be a convenient way to set the ID service (mainly to the sequential ID service, for testing), but has been broken for a long time. The problem is it sets the synthol provider for the IDServiceInterface, but the discovery of OFRAK classes happens later, which actually overwrite that provider with what it finds in ofrak.

Please describe the changes in your request.
Save the given ID service for later so that it won't be overwritten.

Anyone you think should look at this, specifically?
@rbs-jacob

@EdwardLarson EdwardLarson merged commit bfeee75 into redballoonsecurity:master Feb 1, 2023
marczalik pushed a commit to marczalik/ofrak that referenced this pull request Feb 14, 2023
* fix set_id_service so it actually works again

* update changelog

* update changelog with link

---------

Co-authored-by: edward <edward@redballoonsecurity.com>
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.

None yet

3 participants