Skip to content

accounting: encrypt AuthToken key sync - #151

Merged
uniyalabhishek merged 1 commit into
masterfrom
uniyalabhishek/security/rofl-auth-token-key-sync
May 18, 2026
Merged

accounting: encrypt AuthToken key sync#151
uniyalabhishek merged 1 commit into
masterfrom
uniyalabhishek/security/rofl-auth-token-key-sync

Conversation

@uniyalabhishek

@uniyalabhishek uniyalabhishek commented May 18, 2026

Copy link
Copy Markdown
Contributor

Encrypt ROFL transaction submission by default and require explicit allow-listing for any plaintext opt-out.
Ensure AuthToken key sync uses the encrypted path, fails closed on startup errors, and no longer logs key material.

If any production key sync may have already happened unencrypted, rotate _authTokenEncKey after deploy. I think we are only on testnet so far, so it should be ok.

Comment thread src/clients/rofl.py
Comment thread src/main.py Outdated
Comment thread src/main.py Outdated
@uniyalabhishek
uniyalabhishek requested a review from matevz May 18, 2026 14:33
@uniyalabhishek
uniyalabhishek force-pushed the uniyalabhishek/security/rofl-auth-token-key-sync branch from a1a6c3c to 860f7f4 Compare May 18, 2026 14:52
@uniyalabhishek uniyalabhishek self-assigned this May 18, 2026
Comment thread src/main.py Outdated
@uniyalabhishek
uniyalabhishek force-pushed the uniyalabhishek/security/rofl-auth-token-key-sync branch from d674fa9 to a267e9e Compare May 18, 2026 16:04
@uniyalabhishek
uniyalabhishek merged commit 2906239 into master May 18, 2026
3 checks passed
@uniyalabhishek
uniyalabhishek deleted the uniyalabhishek/security/rofl-auth-token-key-sync branch May 18, 2026 16:24
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.

2 participants