packages feed

crypto-pubkey-openssh-0.2.3: crypto-pubkey-openssh.cabal

Name:               crypto-pubkey-openssh
Version:            0.2.3
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.*

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.6.*  || == 4.5.*
                  , bytestring                 == 0.10.* || == 0.9.*
                  , base64-bytestring          == 1.0.*
                  , cereal                     == 0.4.*
                  , attoparsec                 == 0.10.*
                  , crypto-pubkey-types        == 0.4.*
                  , pem                        == 0.2.*
                  , asn1-types                 == 0.2.*
                  , asn1-encoding              == 0.8.*

  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.6.*  || == 4.5.*
                  , bytestring                 == 0.10.* || == 0.9.*
                  , base64-bytestring          == 1.0.*
                  , cereal                     == 0.4.*
                  , attoparsec                 == 0.10.*
                  , crypto-pubkey-types        == 0.4.*
                  , pem                        == 0.2.*
                  , asn1-types                 == 0.2.*
                  , asn1-encoding              == 0.8.*

                  , tasty                      == 0.6.*
                  , tasty-quickcheck           == 0.3.*
                  , QuickCheck                 == 2.6.*
                  , temporary                  == 1.1.*
                  , process                    == 1.2.*
                  , filepath                   == 1.3.*
                  , deepseq                    == 1.3.*

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