From 7a18e6a98d37d51757f78be9e8acd4e7d6543d4a Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 7 Nov 2019 11:35:34 -0500
Subject: [PATCH] supply a stripe key to the system test

---
 nixos/modules/tests/private-storage.nix | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix
index b731404d..9028691f 100644
--- a/nixos/modules/tests/private-storage.nix
+++ b/nixos/modules/tests/private-storage.nix
@@ -17,6 +17,9 @@ let
   # world at large.
   ristrettoSigningKey = "wumQAfSsJlQKDDSaFN/PZ3EbgBit8roVgfzllfCK2gQ=";
 
+  # Ugh.
+  stripeSecretKey = "sk_test_blubblub";
+
   # Here are the preconstructed secrets which we can assign to the introducer.
   # This is a lot easier than having the introducer generate them and then
   # discovering and configuring the other nodes with them.
@@ -85,6 +88,8 @@ import <nixpkgs/nixos/tests/make-test.nix> {
         tls = false;
         issuer = "Ristretto";
         inherit ristrettoSigningKey;
+        stripeSecretKeyPath = pkgs.writeText "stripe.secret" stripeSecretKey;
+        letsEncryptAdminEmail = "user@example.invalid";
       };
     } // networkConfig;
   };
-- 
GitLab