From 9392b3058f6f28046f43a7cdf4ba2688aea80700 Mon Sep 17 00:00:00 2001 From: Michael Kirsten Date: Fri, 11 Oct 2024 14:04:50 +0200 Subject: [PATCH] Fixed wording on website --- src/algorithms/decryption.ts | 2 +- src/view/elements/text.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/algorithms/decryption.ts b/src/algorithms/decryption.ts index 93a5e8e..c3a1f87 100644 --- a/src/algorithms/decryption.ts +++ b/src/algorithms/decryption.ts @@ -155,7 +155,7 @@ async function generateReceiptText (loginResponse: SecondDeviceLoginResponse): P const fingerprint: string = await computeFingerprint(loginResponse) const shortenedFingerprint: string = fingerprint.substring(0, 10) const signature: string = loginResponse.initialMessageDecoded.signatureHex - const string = new Array(`Project ID: ${electionId}`, `Voter Id: ${voterId}`, `Ballot Fingerprint: ${shortenedFingerprint}`, + const string = new Array(`Project Id: ${electionId}`, `Voter Id: ${voterId}`, `Ballot Fingerprint: ${shortenedFingerprint}`, `-----BEGIN FINGERPRINT-----', ${fingerprint}`, '-----END FINGERPRINT-----', '-----BEGIN SIGNATURE-----', `${signature}`, '-----END SIGNATURE-----') return string diff --git a/src/view/elements/text.json b/src/view/elements/text.json index 78e58a8..2242476 100644 --- a/src/view/elements/text.json +++ b/src/view/elements/text.json @@ -21,7 +21,7 @@ }, "login": { "text": { - "default": "Please enter the time-based one-time password that is currently displayed to you in step 5 of the voting process below your pre-filled anonymized voter-Id.", + "default": "Please enter the time-based one-time password that is currently displayed to you in step 5 of the voting process below your pre-filled anonymized voter Id.", "value": { "DE": "Bitte geben Sie unter Ihrer vorausgefüllten anonymisierten Wahl-Id das zeitbasierte Einmalpasswort ein, welches Ihnen aktuell in Schritt 5 der Stimmabgabe angezeigt wird." } @@ -39,7 +39,7 @@ "value": { "DE": "Anmelden und Stimmzettel verifizieren" } }, "voterId": { - "default": "Anonymized Voter-Id: ", + "default": "Anonymized Voter Id: ", "value": { "DE": "Anonymisierte Wahl-Id: " } } }, @@ -59,12 +59,12 @@ "value": { "DE": "Verifiziert für: " } }, "electionId": { - "default": "Election Hash: ", - "value": { "DE": "Wahl-Hash: " } + "default": "Project Id: ", + "value": { "DE": "Projekt-Id: " } }, "voterId": { - "default": "Voter Credential: ", - "value": { "DE": "Wähler:innen-Referenz: " } + "default": "Anonymized Voter Id: ", + "value": { "DE": "Anonymisierte Wahl-Id: " } }, "label": { "default": "Ballot sheet number(s): ", @@ -163,7 +163,7 @@ "value": { "DE": "Der dekodierte Stimmzettel passt nicht zum vom Stimmzettelbogen vorgegebenen Format." } }, "vid": { - "default": "The anonymized voter-Id from the ballot does not match with the anonymized voter-Id which is passed with the entered URL. This could be caused by a third party attack.", + "default": "The anonymized voter Id from the ballot does not match with the anonymized voter Id which is passed with the entered URL. This could be caused by a third party attack.", "value": { "DE": "Die anonymisierte Wahl-Id des Stimmzettels stimmt nicht mit der durch die eingegebene URL übermittelten anonymisierten Wahl-Id überein. Dies könnte durch einen Angriff einer dritten Partei verursacht worden sein." }