From ba78b73d0e4109521ed37f953a87be7050067e0c Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Thu, 6 May 2021 19:13:07 +0000
Subject: [PATCH] Add docs about how newlines is not great here

---
 morph/grid/local/README.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/morph/grid/local/README.rst b/morph/grid/local/README.rst
index e4d07e12..1552b996 100644
--- a/morph/grid/local/README.rst
+++ b/morph/grid/local/README.rst
@@ -53,6 +53,11 @@ Generate your own like this::
   [nix-shell:~/PrivateStorageio]$ PaymentServer-generate-key
   SILOWzbnkBjxC1hGde9d5Q3Ir/4yLosCLEnEQGAxEQE=
 
+Make sure you write it into the key file `without any leading or trailing white space, also without newlines <https://github.com/LeastAuthority/python-challenge-bypass-ristretto/issues/37>`_.
+For example::
+
+  echo -n "SILOWzbnkBjxC1hGde9d5Q3Ir/4yLosCLEnEQGAxEQE=" > ristretto.signing-key
+
 For the Stripe key any random bytes with a little light formatting "work" - at least to make our software happy - but if you want to be able to interact with Stripe and have payments (even pretend payments) move all the way through the system you should get a Stripe account and generate a key w/ them.
 Lauri can get you added to our "dev" Stripe account, too, though I forget how important that is for ad hoc dev/testing.
 
-- 
GitLab