stack-1.9.3.1: The Haskell Tool Stack

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

Stack.Sig.Sign

Description

 
Synopsis

Documentation

sign :: HasLogFunc env => String -> Path Abs File -> RIO env Signature Source #

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

signPackage :: HasLogFunc env => String -> PackageIdentifier -> Path Abs File -> RIO env 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 :: HasLogFunc env => String -> Path Rel File -> ByteString -> RIO env 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.