Skip to content

Conversation

@brizzinck
Copy link
Member

No description provided.

@brizzinck brizzinck self-assigned this Sep 23, 2025
@brizzinck brizzinck changed the title Implementation YaBase64 and YaRSA Implementation YaBase64, YaRSA and YaGzip Sep 25, 2025
@brizzinck brizzinck changed the title Implementation YaBase64, YaRSA and YaGzip Implementation YaBase64, YaRSA, YaGzip, YaMiddleware Sep 27, 2025
@brizzinck brizzinck requested a review from Copilot September 28, 2025 22:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements four new utility packages (YaBase64, YaRSA, YaGzip, YaMiddleware) to provide cryptographic and data encoding functionality with a focus on RSA encryption workflows. The implementation includes deterministic RSA key generation, base64 encoding/decoding, gzip compression, and Gin middleware for encrypted request headers.

Key changes:

  • Added RSA encryption/decryption with chunking support for arbitrary data lengths
  • Implemented deterministic RSA key generation using HMAC-SHA256 based DRBG
  • Created base64 and gzip utility packages with error handling
  • Built Gin middleware for processing RSA-encrypted headers with compression

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarsa/yarsa.go Core RSA encryption/decryption with OAEP chunking
yarsa/reader.go Deterministic byte stream generator for key generation
yarsa/key.go Deterministic RSA key generation and private key parsing
yabase64/yabase64.go JSON serialization with base64 encoding utilities
yagzip/yagzip.go Gzip compression/decompression helpers
yamiddleware/yamiddleware.go Gin middleware for RSA-encrypted request headers
go.mod Added Gin framework and updated dependencies

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@brizzinck brizzinck requested a review from Copilot September 28, 2025 22:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@brizzinck brizzinck marked this pull request as ready for review September 28, 2025 22:34
@YaCodesDevelopment YaCodesDevelopment changed the title Implementation YaBase64, YaRSA, YaGzip, YaMiddleware Add YaBase64, YaRSA, YaGzip, YaMiddleware Oct 1, 2025
@brizzinck brizzinck changed the title Add YaBase64, YaRSA, YaGzip, YaMiddleware Add YaEncoding, YaRSA, YaGzip, YaMiddleware Oct 6, 2025
@brizzinck
Copy link
Member Author

@YaCodesDevelopment

@YaCodesDevelopment YaCodesDevelopment merged commit 9986a6a into main Oct 11, 2025
1 check passed
@YaCodesDevelopment YaCodesDevelopment deleted the feature/base64_rsa_decode_encode branch October 11, 2025 20:38
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.

3 participants