stack-1.0.0: 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 :: (MonadCatch m, MonadBaseControl IO m, MonadIO m, MonadMask m, MonadLogger m, MonadThrow m, MonadReader env m, HasConfig env) => Maybe (Path Abs Dir) -> String -> Path Abs File -> m () Source

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

signTarBytes :: (MonadCatch m, MonadBaseControl IO m, MonadIO m, MonadMask m, MonadLogger m, MonadThrow m, MonadReader env m, HasConfig env) => Maybe (Path Abs Dir) -> String -> Path Rel File -> ByteString -> m () 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.