Skip to content
Snippets Groups Projects
Unverified Commit 57f5a7f8 authored by Mikolaj Konarski's avatar Mikolaj Konarski Committed by GitHub
Browse files

Merge pull request #6474 from hanshoglund/patch-2

[ci skip] Update installing-packages.rst
parents 067bb430 193ea342
No related branches found
No related tags found
No related merge requests found
......@@ -105,14 +105,18 @@ packages from any of them.
Using secure repositories
^^^^^^^^^^^^^^^^^^^^^^^^^
For repositories that support the TUF security infrastructure (this
includes Hackage), you can enable secure access to the repository by
specifying:
When interacting with ``hackage.haskell.org``, Cabal always runs in secure mode
with standard root keys, so it is not necessary to specify ``secure`` or
``root-keys``. If no repositories are listed, Cabal will default to
``hackage.haskell.org``.
For non-Hackage repositories that support the TUF security infrastructure you
can enable secure access to the repository by specifying:
::
repository hackage.haskell.org
url: http://hackage.haskell.org/
repository packages.example.org
url: http://packages.example.org/
secure: True
root-keys: <root-key-IDs>
key-threshold: <key-threshold>
......@@ -272,4 +276,4 @@ dependencies in a single step. To do this, run:
To browse the list of available packages, visit the `Hackage`_ web site.
.. _Hackage: https://hackage.haskell.org/
\ No newline at end of file
.. _Hackage: https://hackage.haskell.org/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment