Skip to content

Expose single-part crypto operations#357

Merged
wiktor-k merged 1 commit intoparallaxsecond:mainfrom
simo5:op_single
Feb 20, 2026
Merged

Expose single-part crypto operations#357
wiktor-k merged 1 commit intoparallaxsecond:mainfrom
simo5:op_single

Conversation

@simo5
Copy link
Contributor

@simo5 simo5 commented Feb 12, 2026

Refactor encryption, decryption, signing, verification, and digesting operations to separate the initialization logic from the single-part execution logic.

This exposes *_single methods publicly, allowing greater flexibility in operation flows. For example, this supports context-specific user authentication where the operation must be initialized before the authentication step occurs.

Fixes #356

@simo5
Copy link
Contributor Author

simo5 commented Feb 13, 2026

Let's try to make the formatter happy...

hug-dev
hug-dev previously approved these changes Feb 17, 2026
Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me, thanks!!

hug-dev
hug-dev previously approved these changes Feb 18, 2026
@simo5
Copy link
Contributor Author

simo5 commented Feb 19, 2026

Squashed the fixup so DCO test stops complaining

Copy link
Collaborator

@wiktor-k wiktor-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good, just a couple of small things 🤞

Refactor encryption, decryption, signing, verification, and digesting
operations to separate the initialization logic from the single-part
execution logic.

This exposes `*_single` methods publicly, allowing greater flexibility
in operation flows. For example, this supports context-specific user
authentication where the operation must be initialized before the
authentication step occurs.

Co-authored-by: Gemini <gemini@google.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Copy link
Collaborator

@wiktor-k wiktor-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks 👋

@wiktor-k wiktor-k enabled auto-merge (rebase) February 19, 2026 16:36
@wiktor-k wiktor-k merged commit d1b283e into parallaxsecond:main Feb 20, 2026
84 of 85 checks passed
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.

Implicit sign_init in sign operation prevents some use cases

3 participants