b6809dc935
fix: FQDN resolution and display_name blank bug; fix: Arch/Alpine/RPM packages
...
Bug fixes:
- get_fqdn() now prioritizes 'hostname -f' (returns full FQDN) over /etc/hostname (returns short hostname)
- Added get_hostname() for short hostname extraction
- Added hostname field to EnrollmentRequest for manager display_name population
- Updated SPEC.md and API_DOCUMENTATION.md
Package fixes:
- Arch: Added linux-patch-api.install with post_install/upgrade/remove hooks, user creation, directory creation, config handling
- Alpine: Added linux-patch-api.apk-install with pre/post install/deinstall hooks, user creation, directory creation, config handling, missing config.yaml.example
- RPM: Dynamic version from Cargo.toml, %ghost %config(noreplace) for live configs, tarball exclusions, /var/log in %files
2026-05-18 23:51:00 +00:00
bb0f73e824
Fix: Disable debug package generation to fix empty debugsourcefiles.list error
2026-04-13 15:13:49 +00:00
6285f29620
Fix build-rpm: add certs directory creation in %install section
2026-04-13 02:15:13 +00:00
c43b2e260e
Fix build-rpm: comment out BuildRequires (apt packages don't register in RPM db - tools available via apt-get)
2026-04-13 02:07:59 +00:00
97df1ba66e
Enable BuildRequires for Fedora container (native RPM dependency validation)
2026-04-13 01:42:20 +00:00
14ef20a87b
Fix build-rpm: comment out BuildRequires (RPM db check fails in Debian container - tools provided by apt/rust-toolchain)
2026-04-13 01:37:06 +00:00
612494b80d
Fix build-rpm: remove systemd-rpm-macros (Fedora-only, not in Debian repos)
2026-04-13 01:20:10 +00:00
514ea92912
Fix RPM build: correct tarball structure, add Source0 to spec, restore script permissions
2026-04-13 00:33:25 +00:00
b615a5639e
v1.0.0 Release - All Phases Complete
...
Phase 2: Core API Development
- 15 REST API endpoints (packages, patches, system, jobs, websocket)
- mTLS authentication layer (src/auth/mtls.rs)
- IP whitelist enforcement (src/auth/whitelist.rs)
- Job manager with async operation support
- WebSocket streaming for job status
Phase 3: Security Hardening
- Security testing: 16/16 tests passing
- Fuzz testing: 21 tests, all findings resolved
- Threat model validation (STRIDE matrix)
- TLS binding fix (critical vulnerability resolved)
- Security documentation complete
Phase 4: Production Readiness
- Performance benchmarking (all targets met)
- Package creation (.deb/.rpm structures)
- Documentation (README, API docs, deployment guide)
- Security hardening (6 vulnerabilities fixed)
Deliverables:
- API_DOCUMENTATION.md (889 lines)
- DEPLOYMENT_GUIDE.md (733 lines)
- SECURITY.md (346 lines)
- README.md (525 lines)
- debian/ package structure
- linux-patch-api.spec (RPM)
- install.sh installer script
- benches/api_benchmarks.rs
- Multiple security/performance reports
Security Status: 0 vulnerabilities remaining
Test Coverage: 31 unit tests, 21 integration tests
Build Status: Release optimized
2026-04-10 01:41:19 +00:00