Stack.Sig.Sign

Description

Synopsis

# Documentation

sign :: (MonadUnliftIO m, MonadLogger m, MonadThrow m) => String -> Path Abs File -> m Signature Source #

Sign a haskell package with the given url of the signature service and a path to a tarball.

Sign a haskell package given the url to the signature service, a PackageIdentifier and a file path to the package on disk.

Sign a haskell package with the given url to the signature service, a package tarball path (package tarball name) and a lazy bytestring of bytes that represent the tarball bytestream. The function will write the bytes to the path in a temp dir and sign the tarball with GPG.