From 66e098b0d9c200271412fd92e9a2e677ec7fbb4c Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 17 Mar 2021 19:59:00 +0200 Subject: Emojify output --- README.md | 8 ++++---- verify.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cb3e909..fa5270d 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ $ pipenv run verify -t green_pass_payload.txt ### Output example ``` -Israeli ID Number 012345678 -ID valid by 2021-01-01 -Cert Unique ID 01/IL/ABCD1234ABCD1234ABCD1234ABCD1234#ABCD1234 -Valid signature! + Israeli ID Number 012345678 + ID valid by 2021-01-01 + Cert Unique ID 01/IL/ABCD1234ABCD1234ABCD1234ABCD1234#ABCD1234 +✅ Valid signature! ``` ## Verification Process Details diff --git a/verify.py b/verify.py index e657ef2..41f9494 100644 --- a/verify.py +++ b/verify.py @@ -104,9 +104,9 @@ class GreenPassVerifier(object): padding.PKCS1v15(), hashes.SHA256(), ) - click.secho("Valid signature!", fg="green", bold=True) + click.secho("✅ Valid signature!", fg="green", bold=True) except InvalidSignature: - click.secho("Invalid signature!", fg="red", bold=True) + click.secho("❌ Invalid signature!", fg="red", bold=True) @click.command() -- cgit v1.3.1