Skip to content

Commit 92fbdb8

Browse files
committed
fix things
Signed-off-by: sirivarma <siri.varma@outlook.com>
1 parent 18e3e01 commit 92fbdb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdk-tests/src/test/java/io/dapr/it/testcontainers/crypto/DaprPreviewClientCryptoIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ private static void generateAndSaveRsaKeyPair(Path keysDir) throws NoSuchAlgorit
111111

112112
Path keyFile = keysDir.resolve(KEY_NAME);
113113
Files.writeString(keyFile, combinedPem);
114+
115+
// Make the key file and directory readable by all (needed for container access)
116+
keyFile.toFile().setReadable(true, false);
117+
keysDir.toFile().setReadable(true, false);
118+
keysDir.toFile().setExecutable(true, false);
114119
}
115120

116121
@BeforeAll

0 commit comments

Comments
 (0)