Game of Trees 0.130 adds SHA256 repository support and OpenBSD/alpha build fix
Game of Trees 0.130 defaults to SHA256 object IDs in new repositories and extends SHA256 support to the gotd server and gotsysd configuration daemon.
Summary
Game of Trees, OpenBSD'nin Git uyumluluk katmanı ve sürüm kontrol sistemi, 0.130 sürümünü yayınladı. Bu sürümde yeni oluşturulan depolar artık varsayılan olarak SHA256 nesne kimliklerini kullanıyor. SHA256 deposu desteği, gotd sunucu arka plan programı, gotsysd sistem yapılandırma arka plan programı ve gotsys.conf yapılandırma dosyasına da eklendi. Ayrıca OpenBSD/alpha üzerindeki derleme sorununu çözmek için GOT_PKT_MAX boyutundaki arabellekler yığından kaldırıldı ve realpath ile yol uzunluğu işlemlerinde taşma riskini önleyen düzeltmeler yapıldı.
What changed in Game of Trees 0.130
- SHA256 by default: Newly created repositories now default to SHA256 object IDs rather than SHA1, following Git's broader transition away from SHA1 for collision resistance.
- Server-side SHA256 support: The gotd daemon, gotsysd configuration daemon, and gotsys.conf configuration file all gain SHA256 repository support, enabling end-to-end SHA256 workflows in server deployments.
- OpenBSD/alpha build fix: Buffers sized at GOT_PKT_MAX were moved off the stack to resolve build failures on OpenBSD/alpha, addressing architecture-specific stack limitations.
- Path handling hardening: The codebase now uses realpath(p, NULL) instead of realpath(p, buf) to eliminate wrong buffer size issues, and PATH_MAX replaces _POSIX_PATH_MAX where the latter was insufficient.
- Git protocol robustness: Previously buffered data is now cleared when receiving Git protocol packets, preventing potential state corruption between operations.
Why it matters
Game of Trees serves as OpenBSD's native Git-compatible version control system and a critical piece of infrastructure for BSD developers who prefer a codebase audited under OpenBSD's security-focused development model. The SHA256 migration aligns it with upstream Git's post-SHA1 security roadmap, while the gotd and gotsysd extensions ensure server administrators can deploy SHA256-native repositories without compatibility gaps. The stack buffer and path handling fixes demonstrate continued attention to memory safety and portability across architectures including legacy OpenBSD/alpha systems.
Original reference: undeadly.org →