Skip to content

Commit a96db0f

Browse files
author
José Valim
committed
Link to the public keys page
1 parent dcf8df3 commit a96db0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/mix/lib/mix/local.ex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
defmodule Mix.Local do
22
@moduledoc false
33

4+
@public_keys_html "https://s3.amazonaws.com/s3.hex.pm/installs/public_keys.html"
5+
46
@doc """
57
The path for local archives.
68
@@ -96,8 +98,8 @@ defmodule Mix.Local do
9698
Mix.raise "Could not install #{name} because Mix could not verify authenticity " <>
9799
"of metadata file at #{path}. This may happen because a proxy or some " <>
98100
"entity is interfering with the download or because you don't have a " <>
99-
"public key to verify the download. Add the corresponding public key " <>
100-
"or try again later"
101+
"public key to verify the download.\n\nYou may try again later or check " <>
102+
"if a new public key has been released in our public keys page: #{@public_keys_html}"
101103
end
102104
end
103105

0 commit comments

Comments
 (0)