From 99b8173f7ec719aea8fb5cdb5fd14509601e469a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 25 Jul 2021 21:05:08 -0600 Subject: [PATCH] Add online notary key registry, add button to erase private key, don't autogenerate keys (so user reads the docs first) --- src/index.html | 43 +++++--- src/js/crypto.js | 273 +++++++++++++++++++++++++++++++++++++++++------ src/js/pdf.js | 68 ++++++++---- src/js/popups.js | 8 ++ 4 files changed, 326 insertions(+), 66 deletions(-) diff --git a/src/index.html b/src/index.html index 40e39c5..082bca4 100644 --- a/src/index.html +++ b/src/index.html @@ -72,23 +72,28 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. Signatures are generated using your private key, which you must keep secret. Someone with the private key can modify a signed PDF without detection. Protect your private key like you protect your notary stamp/seal. -
+

A corresponding public key is also available; anyone with your public key can verify you signed a document, but cannot do anything else. - It is recommended to post your public key somewhere public like a website. - This way, people can ensure documents you notarized are valid without contacting you for a - copy of your public key. It is also recommended to - back up your private key in case your computer malfunctions. This will ensure you don't need - to make a new one. A new key won't be able to verify older signatures or vice versa. Some states - require you use only one key for the entire term of your commission. + To make verifying documents easier, the creator of this software + maintains a public online registry of public keys; you can upload your + key and notary profile with the button below. +

+ It is also recommended to back up your private key in case your computer malfunctions. + This will ensure you don't need to make a new one. A new key won't be able to verify older signatures or vice versa. + Some states require you use only one key for the entire term of your commission.

Learn More -
Create/unlock private key
-
Lock private key
-
Export public key
+
Create new private key
+
Lock private key (require password on next use)

-
Back up private key
-
Restore private key
+
Back up private key
+
Restore private key
+
+
Export public key to file
+
Upload public key to online registry
+


+
Erase private key
App Options
@@ -281,6 +286,18 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ +