From 053e0f8c045e9f84335dd411260a2a596746037c Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 31 Oct 2019 13:29:21 -0400
Subject: [PATCH] account_key.json is a required plugin

why make it a plugin, then, you may ask.
or perhaps you may not ask.
---
 nixos/modules/issuer.nix       | 2 +-
 nixos/pkgs/zkapissuer-repo.nix | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix
index 2c1fab77..fa3793b0 100644
--- a/nixos/modules/issuer.nix
+++ b/nixos/modules/issuer.nix
@@ -129,7 +129,7 @@ in {
           email = "jean-paul@privatestorage.io";
           postRun = "systemctl restart zkapissuer.service";
           webroot = "${acme}/acme-challenges";
-          plugins = [ "full.pem" "fullchain.pem" "key.pem" ];
+          plugins = [ "account_key.json" "full.pem" "fullchain.pem" "key.pem" ];
         };
       }
       else {};
diff --git a/nixos/pkgs/zkapissuer-repo.nix b/nixos/pkgs/zkapissuer-repo.nix
index 06faac68..44182649 100644
--- a/nixos/pkgs/zkapissuer-repo.nix
+++ b/nixos/pkgs/zkapissuer-repo.nix
@@ -4,6 +4,6 @@ in
   pkgs.fetchFromGitHub {
     owner = "PrivateStorageio";
     repo = "PaymentServer";
-    rev = "0acf43493a7525b0eba01b1c69fb69b41f411ecc";
-    sha256 = "0zaqm6qmylclxn25vghafwqxpm5h13c727x3zjnqgp7vbmi2aglk";
+    rev = "028d26152eba4f034aba405caa17627a764c2bbe";
+    sha256 = "06hdln97r2ign7phf661wlzh3z06bk9906lvc0gm3lh1pa23d3gb";
   }
\ No newline at end of file
-- 
GitLab