crypton-x509-store 1.6.12 → 1.6.13
raw patch · 4 files changed
+67/−52 lines, 4 filesdep ~unixPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: unix
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−0
- Data/X509/File.hs +2/−2
- Data/X509/Memory.hs +2/−1
- crypton-x509-store.cabal +57/−49
+ ChangeLog.md view
@@ -0,0 +1,6 @@+# ChangeLog for crypton-x509-store++## 1.6.13++* Making buildable with ghc-9.4 and ghc-9.2.+ [#23](https://github.com/kazu-yamamoto/crypton-certificate/pull/23)
Data/X509/File.hs view
@@ -16,7 +16,7 @@ import Data.PEM (PEM, pemContent, pemName, pemParseLBS) import qualified Data.X509 as X509 import Data.X509.Memory (pemToKey)-#if !defined(mingw32_HOST_OS)+#if !defined(mingw32_HOST_OS) && (MIN_VERSION_unix(2,8,0)) import System.Posix.IO #endif @@ -28,7 +28,7 @@ readPEMs :: FilePath -> IO [PEM] readPEMs filepath = do-#if defined(mingw32_HOST_OS)+#if defined(mingw32_HOST_OS) || !(MIN_VERSION_unix(2,8,0)) content <- L.readFile filepath #else fd <- openFd filepath ReadOnly defaultFileFlags{cloexec = True}
Data/X509/Memory.hs view
@@ -35,7 +35,8 @@ -> [X509.SignedExact a] readSignedObjectFromMemory = either (const []) decodePems . pemParseBS where- decodePems pems = [ obj | pem <- pems, Right obj <- [X509.decodeSignedObject $ pemContent pem] ]+ decodePems pems =+ [obj | pem <- pems, Right obj <- [X509.decodeSignedObject $ pemContent pem]] pemToKey :: [Maybe X509.PrivKey] -> PEM -> [Maybe X509.PrivKey] pemToKey acc pem =
crypton-x509-store.cabal view
@@ -1,52 +1,60 @@-Name: crypton-x509-store-version: 1.6.12-Description: X.509 collection accessing and storing methods for certificate, crl, exception list-License: BSD3-License-file: LICENSE-Copyright: Vincent Hanquez <vincent@snarc.org>-Author: Vincent Hanquez <vincent@snarc.org>-Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>-Synopsis: X.509 collection accessing and storing methods-Build-Type: Simple-Category: Data-stability: experimental-Homepage: https://github.com/kazu-yamamoto/crypton-certificate-Cabal-Version: >= 1.10--Library- Default-Language: Haskell2010- Build-Depends: base >= 3 && < 5- , bytestring- , mtl- , containers- , directory- , filepath- , pem >= 0.1 && < 0.3- , asn1-types >= 0.3 && < 0.4- , asn1-encoding >= 0.9 && < 0.10- , crypton- , crypton-x509 >= 1.7.2- if !os(windows)- Build-Depends: unix- Exposed-modules: Data.X509.CertificateStore- Data.X509.File- Data.X509.Memory- ghc-options: -Wall+cabal-version: >=1.10+name: crypton-x509-store+version: 1.6.13+license: BSD3+license-file: LICENSE+copyright: Vincent Hanquez <vincent@snarc.org>+maintainer: Kazu Yamamoto <kazu@iij.ad.jp>+author: Vincent Hanquez <vincent@snarc.org>+stability: experimental+homepage: https://github.com/kazu-yamamoto/crypton-certificate+synopsis: X.509 collection accessing and storing methods+description:+ X.509 collection accessing and storing methods for certificate, crl, exception list -Test-Suite test-x509-store- Default-Language: Haskell2010- type: exitcode-stdio-1.0- hs-source-dirs: Tests- Main-is: Tests.hs- Build-Depends: base >= 3 && < 5- , bytestring- , tasty- , tasty-hunit- , crypton-x509- , crypton-x509-store- ghc-options: -Wall+category: Data+build-type: Simple+extra-source-files: ChangeLog.md source-repository head- type: git- location: https://github.com/kazu-yamamoto/crypton-certificate- subdir: x509-store+ type: git+ location: https://github.com/kazu-yamamoto/crypton-certificate+ subdir: x509-store++library+ exposed-modules:+ Data.X509.CertificateStore+ Data.X509.File+ Data.X509.Memory++ default-language: Haskell2010+ ghc-options: -Wall+ build-depends:+ base >=3 && <5,+ bytestring,+ mtl,+ containers,+ directory,+ filepath,+ pem >=0.1 && <0.3,+ asn1-types >=0.3 && <0.4,+ asn1-encoding >=0.9 && <0.10,+ crypton,+ crypton-x509 >=1.7.2++ if !os(windows)+ build-depends: unix++test-suite test-x509-store+ type: exitcode-stdio-1.0+ main-is: Tests.hs+ hs-source-dirs: Tests+ default-language: Haskell2010+ ghc-options: -Wall+ build-depends:+ base >=3 && <5,+ bytestring,+ tasty,+ tasty-hunit,+ crypton-x509,+ crypton-x509-store