Extend repo config with security settings
This extends `RemoteRepo` with new fields ``` haskell -- | Enable secure access to Hackage? remoteRepoSecure :: Bool, -- | Root key IDs (for bootstrapping) remoteRepoRootKeys :: [String], -- | Threshold for verification during bootstrapping remoteRepoKeyThreshold :: Int, ``` and modifies the parser accordingly. This does not yet require a dependency on the security library. NOTE: We suggest to make the security functionality opt-in, rather than opt-out, for the first official release. Thus, the 'secure' field will be set to 'False' when initializing a `~/.cabal/config` file, and existing `~/.cabal/config` files will be interpreted as if they had `secure: False`.
Showing
- cabal-install/Distribution/Client/Config.hs 33 additions, 10 deletionscabal-install/Distribution/Client/Config.hs
- cabal-install/Distribution/Client/Setup.hs 3 additions, 1 deletioncabal-install/Distribution/Client/Setup.hs
- cabal-install/Distribution/Client/Types.hs 10 additions, 2 deletionscabal-install/Distribution/Client/Types.hs
Loading
Please register or sign in to comment