Extract common part of _encrypt_all_payloads_inline and _generate_message_from_payloads #117

Closed
opened 2023-02-19 10:27:00 +01:00 by pfm · 1 comment
Collaborator

Functions _encrypt_all_payloads_inline and _generate_message_from_payloads in lacre.core module have very similar flow: they initialise some structure, process messages recursively and return some result.

This recursive algorithm could be extracted and re-used.

Functions `_encrypt_all_payloads_inline` and `_generate_message_from_payloads` in `lacre.core` module have very similar flow: they initialise some structure, process messages recursively and return some result. This recursive algorithm could be extracted and re-used.
pfm added the
CODE
IDEA
labels 2023-02-19 10:27:00 +01:00
Author
Collaborator

Making this more generic would make code more complex and probably more error prone - closing.

Making this more generic would make code more complex and probably more error prone - closing.
pfm closed this issue 2024-01-05 21:26:16 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/gpg-lacre#117
No description provided.