From c0e9059f91f7872e6a515d0ecf84597270ee5327 Mon Sep 17 00:00:00 2001 From: Arthur Gousset <46296830+arthurgousset@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:15:42 +0000 Subject: [PATCH] feat(apps/consumer-client): adds reproducible WebAuthn PCD bug --- .../src/pages/examples/add-pcd.tsx | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/apps/consumer-client/src/pages/examples/add-pcd.tsx b/apps/consumer-client/src/pages/examples/add-pcd.tsx index 081dd077b0..4473803940 100644 --- a/apps/consumer-client/src/pages/examples/add-pcd.tsx +++ b/apps/consumer-client/src/pages/examples/add-pcd.tsx @@ -108,6 +108,10 @@ export default function Page(): JSX.Element { const [podFolder, setPODFolder] = useState("Test PODs"); const [podFolder2, setPODFolder2] = useState("Test PODs"); const [gpcFolder, setGPCFolder] = useState("Test GPCs"); + const [webAuthnInfo, setWebAuthnInfo] = useState(null); + const [serializedWebAuthnPCD, setSerializedWebAuthnPCD] = useState< + string | null + >(null); return (
@@ -381,6 +385,74 @@ export default function Page(): JSX.Element { add a GPC Proof to Zupass + + Webauthn example:
+ +
+ Example data to sign:
+
+