(t *testing.T)
| 275 | } |
| 276 | |
| 277 | func TestDeriveKey_MinLength(t *testing.T) { |
| 278 | // Exactly 4 characters should work |
| 279 | key, err := deriveKey([]byte("abcd")) |
| 280 | assert.NoError(t, err) |
| 281 | assert.Equal(t, 32, len(key)) |
| 282 | } |
| 283 | |
| 284 | func TestGetMasterKey_InteractivePromptError(t *testing.T) { |
| 285 | // When no env var is set and stdin is not a terminal (as in tests), |
nothing calls this directly
no test coverage detected