From 6122a2d423d589cb5fa7829a64263fa18b8cfaa1 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Sat, 13 May 2023 08:16:00 -0500 Subject: [PATCH] Adjust obfuscation of viewing key --- src/Owner.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Owner.hs b/src/Owner.hs index 029ad4e..867f923 100644 --- a/src/Owner.hs +++ b/src/Owner.hs @@ -366,7 +366,7 @@ instance ToJSON OwnerSettings where , "expiration" .= e , "payconf" .= pc , "crmToken" .= cT - , "viewkey" .= (T.take 5 vK <> "...." <> T.takeEnd 5 vK) + , "viewkey" .= (T.take 8 vK <> "...." <> T.takeEnd 8 vK) ] -- Helper Functions