diff --git a/Codec/Encryption/OpenPGP/Serialize.hs b/Codec/Encryption/OpenPGP/Serialize.hs
--- a/Codec/Encryption/OpenPGP/Serialize.hs
+++ b/Codec/Encryption/OpenPGP/Serialize.hs
@@ -1,5 +1,5 @@
 -- Serialize.hs: OpenPGP (RFC4880) serialization (using cereal)
--- Copyright © 2012-2019  Clint Adams
+-- Copyright © 2012-2020  Clint Adams
 -- This software is released under the terms of the Expat license.
 -- (See the LICENSE file).
 module Codec.Encryption.OpenPGP.Serialize
@@ -950,7 +950,7 @@
                    (uncurry
                       ECCT.Point
                       (bimap os2ip os2ip (B.splitAt (div l 2) xy)))
-            else fail $ "unknown type of point: " ++ show (B.unpack bs)
+            else Left $ "unknown type of point: " ++ show (B.unpack bs)
 
 putPubkey :: PKey -> Put
 putPubkey (UnknownPKey bs) = putLazyByteString bs
@@ -1102,7 +1102,7 @@
     (if checksum == 0
        then BL.foldl (\a b -> mod (a + fromIntegral b) 0xffff) (0 :: Word16) skb
        else checksum) -- FIXME: be saner
-putSKAddendum _ = fail "Type not supported"
+putSKAddendum _ = error "Type not supported"
 
 symEncBlockSize :: SymmetricAlgorithm -> Int
 symEncBlockSize Plaintext = 0
diff --git a/hOpenPGP.cabal b/hOpenPGP.cabal
--- a/hOpenPGP.cabal
+++ b/hOpenPGP.cabal
@@ -1,5 +1,5 @@
 Name:                hOpenPGP
-Version:             2.9
+Version:             2.9.1
 Synopsis:            native Haskell implementation of OpenPGP (RFC4880)
 Description:         native Haskell implementation of OpenPGP (RFC4880), plus Camellia (RFC5581), plus ECC (RFC6637)
 Homepage:            https://salsa.debian.org/clint/hOpenPGP
@@ -7,7 +7,7 @@
 License-file:        LICENSE
 Author:              Clint Adams
 Maintainer:          Clint Adams <clint@debian.org>
-Copyright:           2012-2019  Clint Adams
+Copyright:           2012-2020  Clint Adams
 Category:            Codec, Data
 Build-type:          Simple
 Extra-source-files: tests/suite.hs
@@ -343,4 +343,4 @@
 source-repository this
   type:     git
   location: https://salsa.debian.org/clint/hOpenPGP.git
-  tag:      v2.9
+  tag:      v2.9.1
