stack-1.5.1: The Haskell Tool Stack

Copyright(c) FPComplete.com 2015
LicenseBSD3
MaintainerTim Dysinger <tim@fpcomplete.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Stack.Sig.Sign

Description

 

Synopsis

Documentation

sign :: (MonadIO m, MonadLogger m, MonadMask 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.

signPackage :: (MonadIO m, MonadLogger m, MonadThrow m) => String -> PackageIdentifier -> Path Abs File -> m Signature Source #

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

signTarBytes :: (MonadIO m, MonadLogger m, MonadMask m) => String -> Path Rel File -> ByteString -> m Signature Source #

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.