Feature/cli and crypto cleanup#14
Merged
Merged
Conversation
- 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
|
Coverage (lines): %
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a major cleanup and simplification of the CLI modules
(SignatureCli, LicenseKeyGeneratorCli) and the crypto flow.
Overall this makes the CLI tools easier to use, the crypto layer cleaner,
and the documentation consistent with the current implementation.