Skip to content

fix(iam-crypto): enforce context-based crypto usage#1

Open
Maatify wants to merge 2 commits intomainfrom
fix-iam-crypto-12115725808484444533
Open

fix(iam-crypto): enforce context-based crypto usage#1
Maatify wants to merge 2 commits intomainfrom
fix-iam-crypto-12115725808484444533

Conversation

@Maatify
Copy link
Owner

@Maatify Maatify commented Mar 5, 2026

Audit and correct the usage of the Crypto system inside the IAM project so that it strictly follows the Crypto architecture. Enforced context-based crypto usage for IDENTIFIER_ENC and eliminated distinct per-type crypto context usages in CreateActorService.


PR created automatically by Jules for task 12115725808484444533 started by @Maatify

- replaced direct CryptoProvider encryption calls
- enforced CryptoContext usage for IDENTIFIER_ENC
- preserved key rotation and HKDF derivation
- no schema or domain logic changes

Co-authored-by: Maatify <130119162+Maatify@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Append `:v1` to `IDENTIFIER_ENC` context in `CreateActorService` to satisfy HKDF requirement for versioned context strings.

Co-authored-by: Maatify <130119162+Maatify@users.noreply.github.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.

1 participant