Skip to content

Feature/cli and crypto cleanup#14

Merged
bsayli merged 4 commits into
mainfrom
feature/cli-and-crypto-cleanup
Sep 18, 2025
Merged

Feature/cli and crypto cleanup#14
bsayli merged 4 commits into
mainfrom
feature/cli-and-crypto-cleanup

Conversation

@bsayli
Copy link
Copy Markdown
Owner

@bsayli bsayli commented Sep 18, 2025

This PR introduces a major cleanup and simplification of the CLI modules
(SignatureCli, LicenseKeyGeneratorCli) and the crypto flow.

  • Simplified command-line usage (file-based keys, clearer arguments)
  • Standardized license key structure
  • Updated OpenAPI configs to pick up version from pom.xml
  • Bumped all modules to 1.0.4-SNAPSHOT
  • Synced and updated README.md docs across subprojects

Overall this makes the CLI tools easier to use, the crypto layer cleaner,
and the documentation consistent with the current implementation.

barissayli and others added 4 commits September 16, 2025 17:02
- Removed legacy CLIs (Ed25519KeygenCli, EncryptUserIdCli) to reduce duplication
- Updated LicenseKeyGeneratorCli to require AES key file for userId encryption
- Introduced KeygenCli for AES and Ed25519 keypair file generation with safe perms
- Refactored JwtTokenExtractor for robust Ed25519 SPKI handling
- Aligned unit/integration tests with new APIs, dropped backward compatibility
- Updated README.md to reflect the new golden path and CLI usage
- Refactored SignatureCli and LicenseKeyGeneratorCli for clearer usage
- Switched to file-based key inputs (private/public) for signing & verification
- Standardized license key structure (<PREFIX.<opaquePayloadBase64Url>>)
- Improved detached signature generation & verification (Ed25519)
- Updated health checks and Docker Compose configs for infra/services
- Synced README.md docs across service, SDK, and CLI projects
- Updated all pom.xml files to 1.0.4-SNAPSHOT
- Fixed OpenAPI configs to read version from app.yml (@project.version@)
- Updated README.md files (service, sdk, cli, client, root) to reflect new licenseKey format and version handling
@bsayli bsayli merged commit 4db3f4d into main Sep 18, 2025
1 check passed
@github-actions
Copy link
Copy Markdown

Coverage (lines): %

  • Covered:
  • Missed:
  • JaCoCo report path: target/site/jacoco-aggregate/jacoco.xml

bsayli added a commit that referenced this pull request Oct 2, 2025
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