Remove deprecated test files and optimize encryption functions
Some checks failed
Go / build (push) Has been cancelled
Go / release (push) Has been cancelled

- Deleted `testresults.txt` and `testmain_test.go` as they were no longer needed.
- Updated the Go workflow to streamline the build process by removing commented-out build steps for various platforms.
- Refactored encryption benchmarks to improve performance and clarity in the `benchmark_test.go` file.
- Introduced a new LICENSE file for the encryption package, specifying the MIT License.
- Enhanced the README with usage instructions and links to the NIP-44 specification.
- Bumped version to v0.25.3 to reflect these changes.
This commit is contained in:
2025-11-05 13:28:17 +00:00
parent 256537ba86
commit 7af08f9fd2
15 changed files with 699 additions and 1104 deletions

View File

@@ -103,25 +103,6 @@ jobs:
GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-linux-amd64 .
# # Build for Linux ARM64 (pure Go with purego)
# echo "Building Linux ARM64 (pure Go + purego)..."
# GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=arm64 CGO_ENABLED=0 \
# go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-linux-arm64 .
# # Build for macOS (pure Go with purego)
# echo "Building macOS AMD64 (pure Go + purego)..."
# GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 \
# go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-darwin-amd64 .
# echo "Building macOS ARM64 (pure Go + purego)..."
# GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 \
# go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-darwin-arm64 .
# # Build for Windows (pure Go with purego)
# echo "Building Windows AMD64 (pure Go + purego)..."
# GOEXPERIMENT=greenteagc,jsonv2 GOOS=windows GOARCH=amd64 CGO_ENABLED=0 \
# go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-windows-amd64.exe .
# Note: Only building orly binary as requested
# Other cmd utilities (aggregator, benchmark, convert, policytest, stresstest) are development tools