packages feed

crypto-pubkey-openssh-0.2.7: crypto-pubkey-openssh.cabal

Name:               crypto-pubkey-openssh
Version:            0.2.7
Synopsis:           OpenSSH keys decoder/encoder
Description:        OpenSSH keys decoder/encoder
License:            MIT
License-file:       LICENSE
Copyright:          Fedor Gogolev <knsd@knsd.net>
Author:             Fedor Gogolev <knsd@knsd.net>
                    Maxim Mitroshin <rocco66max@gmail.com>
                    Thomas DuBuisson <thomas.dubuisson@gmail.com>
Maintainer:         Fedor Gogolev <knsd@knsd.net>
Homepage:           https://github.com/knsd/crypto-pubkey-openssh
Bug-reports:        https://github.com/knsd/crypto-pubkey-openssh/issues
Category:           Cryptography, Parsing
Stability:          Alpha
Build-type:         Simple
Cabal-version:      >= 1.12
Tested-with:        GHC == 7.6.*

Extra-source-files:
  README.md

Flag OpenSsh
  Description:      Test with ssh-keygen
  Default:          False

Library
  Hs-source-dirs:   src
  Ghc-options:      -Wall -fno-warn-orphans
  Default-language: Haskell2010
  Build-depends:    base                       >= 4.5 && < 5
                  , bytestring
                  , base64-bytestring
                  , cereal
                  , attoparsec
                  , crypto-pubkey-types
                  , pem
                  , asn1-types
                  , asn1-encoding

  Exposed-modules:  Crypto.PubKey.OpenSsh
  Other-modules:    Crypto.PubKey.OpenSsh.Types
                    Crypto.PubKey.OpenSsh.Encode
                    Crypto.PubKey.OpenSsh.Decode

Test-suite crypto-pubkey-openssh-tests
  Main-is:          Tests.hs
  Hs-source-dirs:   src, tests
  Default-language: Haskell2010
  Type:             exitcode-stdio-1.0

  if flag(OpenSsh)
    cpp-options: -DOPENSSH

  Build-depends:    base                       >= 4.5 && < 5
                  , bytestring
                  , base64-bytestring
                  , cereal
                  , attoparsec
                  , crypto-pubkey-types
                  , pem
                  , asn1-types
                  , asn1-encoding

                  , tasty
                  , tasty-quickcheck
                  , QuickCheck
                  , temporary
                  , process
                  , filepath
                  , deepseq

  Other-modules:    Crypto.PubKey.OpenSsh.Encode.Tests
                    Crypto.PubKey.OpenSsh.Decode.Tests
                    SshKeygen

Source-repository head
  Type:             git
  Location:         https://github.com/knsd/crypto-pubkey-openssh