Skip to content

fix(crypto): RSA 4096, DecryptRSA error handling, b64 naming [L1+L2+L5]#566

Merged
lakhansamani merged 1 commit intomainfrom
fix/l1-l2-l5-crypto-improvements
Apr 4, 2026
Merged

fix(crypto): RSA 4096, DecryptRSA error handling, b64 naming [L1+L2+L5]#566
lakhansamani merged 1 commit intomainfrom
fix/l1-l2-l5-crypto-improvements

Conversation

@lakhansamani
Copy link
Copy Markdown
Contributor

Summary

  • L1 (Low): RSA key size increased from 2048 to 4096 bits
  • L2 (Low): DecryptRSA now returns error on invalid base64 instead of silently passing nil
  • L5 (Low): Added EncodeB64/DecodeB64 with proper names, kept old names as deprecated aliases

Test plan

  • All packages compile
  • Verify RSA key generation and signing still works

…name b64 funcs

- L1: RSA key size increased from 2048 to 4096 bits
- L2: DecryptRSA now properly handles base64 decode errors instead of
  silently discarding them
- L5: Added properly named EncodeB64/DecodeB64 functions alongside
  deprecated EncryptB64/DecryptB64 aliases

Fixes: L1, L2, L5 (Low)
@lakhansamani lakhansamani merged commit 93e1550 into main Apr 4, 2026
@lakhansamani lakhansamani deleted the fix/l1-l2-l5-crypto-improvements branch April 4, 2026 10:42
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