Benji Vesterby closed issue #45: README references stale HSM_SIM_KEYS_PATH env var and sim_keys.txt fixture at Developer Network / Zig Shared Projects / hsm

Benji Vesterby
2026-03-24T14:34:40Z

Description

README.md lines 205-207 state:

The simulator loads its test keys from tests/fixtures/sim_keys.txt. You can override the default path by setting HSM_SIM_KEYS_PATH to a custom fixture.

This is stale. Per issue #40 (resolved), simulator key material was migrated to embedded constants in src/sim/key_material.zig. The env var HSM_SIM_KEYS_PATH is not referenced anywhere in the source code and the fixture file is deprecated.

Evidence

HSM_SIM_KEYS_PATH appears only in README.md, not in any .zig source file

src/sim/key_material.zig uses embedded constants, not file I/O

Issue #40 resolution: "Embedded test material as constants"

Fix

Remove or update the paragraph in README.md about HSM_SIM_KEYS_PATH and tests/fixtures/sim_keys.txt. The simulator now uses built-in test keys; no env var override exists.