(t *testing.T, password string)
| 494 | } |
| 495 | |
| 496 | func deriveTestKey(t *testing.T, password string) []byte { |
| 497 | t.Helper() |
| 498 | key, err := deriveTestKeyBytes([]byte(password)) |
| 499 | assert.NoError(t, err) |
| 500 | return key |
| 501 | } |
| 502 | |
| 503 | func deriveTestKeyBytes(password []byte) ([]byte, error) { |
| 504 | os.Setenv("TRYSSH_MASTER_KEY", string(password)) |
no test coverage detected