hunk.code_window:     case keyType of
         "HS256" -> parseHmacKey rawKey 256 keyType
         "HS384" -> parseHmacKey rawKey 384 keyType
         "HS512" -> parseHmacKey rawKey 512 keyType
         "RS256" -> parseRsaKey rawKey keyType
         "RS384" -> parseRsaKey rawKey keyType
         "RS512" -> parseRsaKey rawKey keyType
         -- TODO: support ES256, ES384, ES512, PS256, PS384
         _       -> invalidJwk ("Key type: " <> T.unpack keyType <> " is not supported")
       where
  
hunk.labels: keep replace replace replace replace replace replace keep keep keep
hunk.after_edit:       "HS256" -> parseHmacKey rawKey 256 keyType claimNs
         "HS384" -> parseHmacKey rawKey 384 keyType claimNs
         "HS512" -> parseHmacKey rawKey 512 keyType claimNs
         "RS256" -> parseRsaKey rawKey keyType claimNs
         "RS384" -> parseRsaKey rawKey keyType claimNs
         "RS512" -> parseRsaKey rawKey keyType claimNs
  
hunk.file_path: server/src-lib/Hasura/Server/Auth/JWT.hs
hunk.type: replace
file: FROM node:8
  # update npm
  RUN npm install -g npm@5
  
  # install dependencies
  RUN apt-get update && apt-get install -y \
      netcat \
      libpq5 \
      libgtk2.0-0 \
      libnotify-dev \
      libgconf-2-4 \
      libnss3 \
      libxss1 \
      libasound2 \
      xvfb \
      && rm -rf /var/lib/apt/lists/*