-
Notifications
You must be signed in to change notification settings - Fork 14
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
#299-feature/presentation submission dynamic handler #314
base: refac
Are you sure you want to change the base?
#299-feature/presentation submission dynamic handler #314
Conversation
|
||
logger = logging.getLogger(__name__) | ||
|
||
class PresentationSubmission: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't put the classes within the init file
we are going to refactor all the code within this project to remove this code-style in favour or a proper division of files by scopes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ImportError: If a module or class cannot be loaded. | ||
""" | ||
handlers = {} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please create and add a pydantic schema validation here for the prensentation_submission object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please put some limits on the presentation submission size, in a way that an attacker might not push 10mb of presentation submission causing resource exaustion to the RP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added control for byte size and credential number too
Co-authored-by: Giuseppe De Marco <[email protected]>
…om:LadyCodesItBetter/eudi-wallet-it-python into feature/italia#299-Presentation-Submission
… for descriptor_map
This PR introduces enhancements to the PresentationSubmission class to improve error handling and dynamic handler initialization based on descriptor_map.
Key points: