diff --git a/src/Crypto/Verification.hs b/src/Crypto/Verification.hs
--- a/src/Crypto/Verification.hs
+++ b/src/Crypto/Verification.hs
@@ -17,10 +17,10 @@
 import Data.ByteArray.Encoding (Base(..)
                               , convertToBase
                               , convertFromBase)
-import Protolude (rightToMaybe)
 import Data.Tuple (swap)
 
 import Crypto.Encryption (Encrypted(..), getIV, getSecret)
+import Extension.Either
 import qualified Extension.ByteString as EBS
 
 data Signed signable =
diff --git a/src/Extension/Either.hs b/src/Extension/Either.hs
new file mode 100644
--- /dev/null
+++ b/src/Extension/Either.hs
@@ -0,0 +1,5 @@
+module Extension.Either (rightToMaybe) where
+
+rightToMaybe :: Either e a -> Maybe a
+rightToMaybe (Left _) = Nothing
+rightToMaybe (Right a) = Just a
diff --git a/wai-secure-cookies.cabal b/wai-secure-cookies.cabal
--- a/wai-secure-cookies.cabal
+++ b/wai-secure-cookies.cabal
@@ -1,5 +1,5 @@
 name:                wai-secure-cookies
-version:             0.1.0.5
+version:             0.1.0.6
 description:         WAI middleware to automatically encrypt and sign cookies
 homepage:            https://github.com/habibalamin/wai-secure-cookies
 license:             MIT
@@ -19,9 +19,9 @@
   other-modules:       Cookie.Secure
                      , Crypto.Encryption
                      , Crypto.Verification
+                     , Extension.Either
                      , Extension.ByteString
   build-depends:       base >= 4.7 && < 5
-                     , protolude >= 0.2 && < 0.3
                      , wai >= 3.2 && < 4
                      , cryptonite >= 0.24 && < 0.28
                      , bytestring >= 0.10 && < 0.11
