mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 23:23:37 +01:00
[PR #518] [MERGED] Update: Improve handling of CA certificates #597
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/518
Author: @bioball
Created: 6/11/2024
Status: ✅ Merged
Merged: 6/13/2024
Merged by: @bioball
Base:
main← Head:dan-improve-certs📝 Commits (9)
b4d5f93Improve handling of CA certificates3c91cefEnsure that OCSP is enabled for all CLIsf40fdc3Remove ability to load CA certificate file via jar: or file: URIe07268cRename certificateFiles to certificatePathsd294f03Fix test38cfa24Adjustments6a01eb8Fix rebase woes, address PR commentsa10a221Fix codec, add test62e7011Spotless apply📊 Changes
28 files changed (+236 additions, -271 deletions)
View changed files
📝
docs/modules/bindings-specification/pages/message-passing-api.adoc(+23 -16)➖
pkl-certs/pkl-certs.gradle.kts(+0 -19)📝
pkl-cli/pkl-cli.gradle.kts(+37 -1)📝
pkl-cli/src/certs/resources/PklCARoots.pem(+0 -0)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliEvaluatorTest.kt(+3 -6)📝
pkl-commons-cli/pkl-commons-cli.gradle.kts(+0 -1)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/CliCommand.kt(+9 -0)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/CliMain.kt(+3 -0)📝
pkl-commons-test/pkl-commons-test.gradle.kts(+0 -1)📝
pkl-commons-test/src/main/kotlin/org/pkl/commons/test/FileTestUtils.kt(+0 -5)📝
pkl-core/src/main/java/org/pkl/core/http/HttpClient.java(+9 -36)📝
pkl-core/src/main/java/org/pkl/core/http/HttpClientBuilder.java(+8 -57)📝
pkl-core/src/main/java/org/pkl/core/http/JdkHttpClient.java(+12 -18)📝
pkl-core/src/main/java/org/pkl/core/service/ExecutorSpiImpl.java(+15 -16)📝
pkl-core/src/test/kotlin/org/pkl/core/http/HttpClientTest.kt(+8 -48)📝
pkl-core/src/test/kotlin/org/pkl/core/http/LazyHttpClientTest.kt(+10 -4)📝
pkl-core/src/test/kotlin/org/pkl/core/project/ProjectDependenciesResolverTest.kt(+0 -1)➖
pkl-core/src/test/resources/org/pkl/core/http/brokenCerts.pem(+0 -1)➖
pkl-core/src/test/resources/org/pkl/core/http/emptyCerts.pem(+0 -0)📝
pkl-executor/src/main/java/org/pkl/executor/ExecutorOptions.java(+16 -20)...and 8 more files
📄 Description
These are changes made on top of https://github.com/apple/pkl/pull/378. Thanks to @translatenix for doing most of the work here!
Changes on top of the original PR:
--ca-certificateflag as either directory or fileCloses #378
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.