Skip to content

[WIP] feat: replace Fernet (AES-128-CBC) with AES-256-GCM for DCR secret encryption#106

Open
luis5tb wants to merge 1 commit intoRHEcosystemAppEng:mainfrom
luis5tb:pqc-alg
Open

[WIP] feat: replace Fernet (AES-128-CBC) with AES-256-GCM for DCR secret encryption#106
luis5tb wants to merge 1 commit intoRHEcosystemAppEng:mainfrom
luis5tb:pqc-alg

Conversation

@luis5tb
Copy link
Copy Markdown
Collaborator

@luis5tb luis5tb commented Apr 17, 2026

Upgrade DCR client secret encryption from Fernet (AES-128-CBC + HMAC-SHA256) to AES-256-GCM for stronger symmetric encryption with quantum-resistant key length. Includes a batch migration script (scripts/migrate_fernet_to_aesgcm.py) to re-encrypt existing production secrets from the old Fernet key to the new AES-256-GCM key.

…cryption

Upgrade DCR client secret encryption from Fernet (AES-128-CBC + HMAC-SHA256)
to AES-256-GCM for stronger symmetric encryption with quantum-resistant key
length. Includes a batch migration script (scripts/migrate_fernet_to_aesgcm.py)
to re-encrypt existing production secrets from the old Fernet key to the new
AES-256-GCM key.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@luis5tb luis5tb changed the title [WIP] feat: replace Fernet (AES-128-CBC) with AES-256-GCM for DCR secret en… [WIP] feat: replace Fernet (AES-128-CBC) with AES-256-GCM for DCR secret encryption Apr 17, 2026
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