hackage-security
hackage-security copied to clipboard
Hackage security framework based on TUF (The Update Framework)
Just a minor question. When I run hackage-local, the encoding for keys and so on seems to all be in Base64, but [the TUF spec](https://github.com/theupdateframework/tuf/blob/develop/docs/tuf-spec.txt) shows everything as hex-encoded. To...
See `withResponse`. Unfortunately however this will probably require upstream changes in the HTTP library (see https://github.com/haskell/HTTP/issues/86).
See TODO in `FromJSON` instance.
(and update the pattern stuff to deal with `Path` rather than `FilePath`)
This is documented in detail in `downloadPackage`.
If I call `downloadPackage'` to a destination directory I haven't created yet, I get a weird error: ``` my-exe: /Users/bchinn/.cache/my-exe/package-index/hackage.haskell.org/01-index.tar: withFile: does not exist (No such file or directory) ```...