diff --git a/hails-bin.cabal b/hails-bin.cabal
--- a/hails-bin.cabal
+++ b/hails-bin.cabal
@@ -1,5 +1,5 @@
 Name:           hails-bin
-Version:        0.1
+Version:        0.1.1
 build-type:     Simple
 License:        GPL-2
 License-File:   LICENSE
diff --git a/hails.hs b/hails.hs
--- a/hails.hs
+++ b/hails.hs
@@ -148,7 +148,7 @@
 envOpts opts env = 
   opts { optName = maybe (optName opts) id (fromEnv "APP_NAME")
        , optPort = maybe (optPort opts) id (readFromEnv "PORT")
-       , optKey  = maybe (optKey  opts) id (readFromEnv "HMAC_KEY")
+       , optKey  = maybe (optKey  opts) id (fromEnv "HMAC_KEY")
        , optUrl  = maybe (optUrl  opts) id (fromEnv "AUTH_URL")
        }
     where fromEnv n = lookup n env
