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. ...@@ -105,14 +105,18 @@ packages from any of them.
Using secure repositories Using secure repositories
^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
For repositories that support the TUF security infrastructure (this When interacting with ``hackage.haskell.org``, Cabal always runs in secure mode
includes Hackage), you can enable secure access to the repository by with standard root keys, so it is not necessary to specify ``secure`` or
specifying: ``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 repository packages.example.org
url: http://hackage.haskell.org/ url: http://packages.example.org/
secure: True secure: True
root-keys: <root-key-IDs> root-keys: <root-key-IDs>
key-threshold: <key-threshold> key-threshold: <key-threshold>
...@@ -272,4 +276,4 @@ dependencies in a single step. To do this, run: ...@@ -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. To browse the list of available packages, visit the `Hackage`_ web site.
.. _Hackage: https://hackage.haskell.org/ .. _Hackage: https://hackage.haskell.org/
\ No newline at end of file
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