Skip to content

Commit faf58d0

Browse files
authored
Use :public_key.cacerts_get, closes #6066 (#6067)
* Use :public_key.cacerts_get, closes #6066 * Bump OTP
1 parent 577004e commit faf58d0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
include:
1717
- elixir: 1.15.8
18-
otp: 24.3.4.17
18+
otp: 25.3.2.9
1919

2020
- elixir: 1.17.3
2121
otp: 27.2
@@ -107,7 +107,7 @@ jobs:
107107
include:
108108
# look for correct alpine image here: https://hub.docker.com/r/hexpm/elixir/tags
109109
- elixir: 1.15.8
110-
otp: 24.3.4.17
110+
otp: 25.3.2.9
111111
suffix: "alpine-3.20.3"
112112

113113
- elixir: 1.17.3

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog for v1.8
22

3+
This release requires Erlang/OTP 25+.
4+
35
## v1.7
46

57
The CHANGELOG for v1.7 releases can be found in the [v1.7 branch](https://github.com/phoenixframework/phoenix/blob/v1.7/CHANGELOG.md).

lib/mix/tasks/phx.gen.release.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ defmodule Mix.Tasks.Phx.Gen.Release do
294294
http_options = [
295295
ssl: [
296296
verify: :verify_peer,
297-
cacertfile: String.to_charlist(CAStore.file_path()),
297+
cacerts: :public_key.cacerts_get(),
298298
depth: 3,
299299
customize_hostname_check: [
300300
match_fun: :public_key.pkix_verify_hostname_match_fun(:https)

mix.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ defmodule Phoenix.MixProject do
8888

8989
# TODO Drop phoenix_view as an optional dependency in Phoenix v2.0
9090
{:phoenix_view, "~> 2.0", optional: true},
91-
# TODO Drop castore when we require OTP 25+ / Elixir v1.17+
92-
{:castore, ">= 0.0.0"},
9391

9492
# Optional deps
9593
{:plug_cowboy, "~> 2.7", optional: true},

0 commit comments

Comments
 (0)