Root cause
Other / insufficient public mechanism detail introduced
The HSM test prints the derived pepper value in hexadecimal.
How AI contributed: Direct introductionPublished Jul 12, 2026 in
jahlives/openssl_encryptAll 20 findings in this repository
Provisional finding. Full causal and release verification remains incomplete.
Root cause
The HSM test prints the derived pepper value in hexadecimal.
Fix
The active command handler removes the pepper-value output.
Case facts
@@ -1947,0 +2080,18 @@+ result = plugin.get_hsm_pepper(test_salt, context)++ if result.success:+ pepper = result.data.get("hsm_pepper")+ print(f"\n✅ Test successful!")+ print(f"Pepper length: {len(pepper)} bytes")+ print(f"Pepper (hex): {pepper.hex()}")+ print("\nYour FIDO2 credential is working correctly.")+ else:+ print(f"\n❌ Test failed: {result.message}")+ sys.exit(1)++ elif action == "fido2-list":+ # List connected FIDO2 devices+ print("\n🔐 Connected FIDO2 Devices")+ print("=" * 50)++ devices = plugin.list_devices()@@ -2671,9 +2671,11 @@ pepper = result.data.get("hsm_pepper") eprint("\n✅ Test successful!")+ # Do NOT print the pepper itself — it is key material / a KDF+ # intermediate (H1 [HSM-1], gitlab#121). The length + success+ # confirm the derivation works; the value must never reach output. eprint(f"Pepper length: {len(pepper)} bytes")- eprint(f"Pepper (hex): {pepper.hex()}") eprint("\nYour FIDO2 credential is working correctly.") else: eprint(f"\n❌ Test failed: {result.message}") sys.exit(1) AI-assisted change 758e10d2ed910b77247a014e4541ae3250c8971e6bdf8a1bc1a835a41e2ca525 · Fix 4f3dd43f38a4f7d085f6bc7619a5f1b082da143b9f7026f9f18a60f21d4fc23b