packages feed

ssh 0.3.0.1 → 0.3.1

raw patch · 5 files changed

+14/−10 lines, 5 filesdep +asn1-encodingdep +asn1-typesdep −asn1-datadep ~filepathdep ~integer-gmpdep ~template-haskell

Dependencies added: asn1-encoding, asn1-types

Dependencies removed: asn1-data

Dependency ranges changed: filepath, integer-gmp, template-haskell

Files

CHANGES view
@@ -1,3 +1,8 @@+0.3.1 2015/4/27++* Update versions for GHC 7.10+* Switch from deprecated asn1-data to asn1-encoding+ 0.3.0.1 2015/4/21  * No functional changes, just retrospectively updating this changelog to
README view
@@ -1,6 +1,3 @@ This a library for implementing your own servers that handle SSH requests and authorization, etc. Similar to Python's Twisted Conch library. It's used eg by darcsden to provide basic SSH access.--This package receives only basic maintenance; if you'd like to-take it over, please contact the current maintainer.
src/SSH/Crypto.hs view
@@ -5,6 +5,7 @@ import Data.ASN1.BinaryEncoding (BER(..), DER(..)) import Data.ASN1.Encoding (decodeASN1, encodeASN1) import Data.ASN1.Stream+import Data.ASN1.Types import Data.Digest.Pure.SHA (bytestringDigest, sha1) import Data.List (isPrefixOf) import qualified Codec.Binary.Base64.String as B64
src/SSH/Util.hs view
@@ -43,8 +43,8 @@    pad ++ z       where          pad = replicate (l - unPaddedLen) (0x00::Word8)-	 z = toOctets (256 :: Integer) y-	 unPaddedLen = length z+         z = toOctets (256 :: Integer) y+         unPaddedLen = length z  integerLog2 :: Integer -> Int integerLog2 n | n <=0 = error "integerLog2: argument must be positive"
ssh.cabal view
@@ -1,5 +1,5 @@ name:                ssh-version:             0.3.0.1+version:             0.3.1 synopsis:            A pure-Haskell SSH server library. description:     This a library for implementing your own servers that handle SSH@@ -56,7 +56,8 @@   other-modules:    SSH.Debug,                     SSH.Util -  build-depends:    asn1-data >= 0.7.1,+  build-depends:    asn1-encoding >= 0.8,+                    asn1-types >= 0.3,                     base >= 4 && < 5,                     base64-string,                     binary,@@ -67,7 +68,7 @@                     crypto-pubkey-types >= 0.2,                     cryptohash-cryptoapi,                     HsOpenSSL >= 0.8,-                    integer-gmp >= 0.5 && < 0.6,+                    integer-gmp >= 0.5 && < 1.1,                     network,                     process,                     RSA >= 1.2 && < 1.3,@@ -92,10 +93,10 @@       HUnit                      >= 1.0   && < 1.3,       QuickCheck                 >= 2.8   && < 2.9,       libssh2                    >= 0.2   && < 0.3,-      filepath                   >= 1.3   && < 1.4,+      filepath                   >= 1.3   && < 1.5,       directory                  >= 1.2   && < 1.3,       bytestring                 >= 0.10  && < 0.11,-      template-haskell           >= 2.8   && < 2.10,+      template-haskell           >= 2.8   && < 2.11,       th-lift-instances          >= 0.1   && < 0.2,       pseudomacros               >= 0.0   && < 0.1,       containers,