We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c526a32 commit 89bbf11Copy full SHA for 89bbf11
1 file changed
lib/package/macos.ex
@@ -359,7 +359,7 @@ defmodule Desktop.Deployment.Package.MacOS do
359
cert = File.read!(pem_filename)
360
# Test for missing public_key application
361
# ref https://elixirforum.com/t/nerves-key-hub-mix-tasks-fail-because-of-missing-pubkey-pem-module/62821/2
362
- {:ok, _started} = Application.ensure_all_started(:public_key)
+ Mix.ensure_application!(:public_key)
363
cert_der = List.keyfind!(:public_key.pem_decode(cert), :Certificate, 0)
364
365
:public_key.der_decode(:Certificate, elem(cert_der, 1))
0 commit comments