Skip to content

v0.23.0 piv-go v2

Choose a tag to compare

@revelaction revelaction released this 04 Jan 20:24
· 134 commits to main since this release

Core Improvements:

  • Major refactor of PIV/YubiKey identity management with abstract device I/O.
  • Improved PIV security by enforcing RSA for Age key protection.
  • Refactored headerGenerator to use filepath.WalkDir with SkipDir for efficient, non-recursive streaming.
  • Clarified and enforced flat repository structure (subdirectories are now ignored).

Architectural Changes:

  • Introduced 'fs' package to centralize and mock filesystem operations.
  • Improved error handling across the codebase, specifically for file Close operations.
  • Updated piv-go dependency to v2.4.0.
  • Decoupled setup and configuration logic for better testability.

Testing & Quality:

  • Added comprehensive unit tests for header generator, identity, and config packages.
  • Significant increase in test coverage (from ~15% to ~25%).
  • Resolved multiple errcheck linting issues.
  • Fixed resource leaks (file descriptors) in directory scanning.

Full Changelog: v0.22.0...v0.23.0