From 95e807be739fe05dcc9eae2427c9757c1c320c15 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 10 Nov 2018 18:50:05 +0000 Subject: [PATCH 1/5] test key support BEFORE creating keys --- app/js/app.js | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/app/js/app.js b/app/js/app.js index f32ab86..725c629 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -48,32 +48,37 @@ }); }); } - testEcdsaSupport().then(function () { - console.info("[crypto] ECDSA is supported"); - BROWSER_SUPPORTS_ECDSA = true; - localStorage.setItem('version', '1'); - return true; - }).catch(function () { - console.warn("[crypto] ECDSA is NOT fully supported"); - BROWSER_SUPPORTS_ECDSA = false; - - // fix previous firefox browsers - if (!localStorage.getItem('version')) { - localStorage.clear(); - localStorage.getItem('version', '1'); + function testKeypairSupport() { + return testEcdsaSupport().then(function () { + console.info("[crypto] ECDSA is supported"); + BROWSER_SUPPORTS_ECDSA = true; + localStorage.setItem('version', '1'); + return true; + }).catch(function () { + console.warn("[crypto] ECDSA is NOT fully supported"); + BROWSER_SUPPORTS_ECDSA = false; + + // fix previous firefox browsers + if (!localStorage.getItem('version')) { + localStorage.clear(); + localStorage.setItem('version', '1'); + } + + return false; + }); + } + testKeypairSupport().then(function (ecdsaSupport) { + if (ecdsaSupport) { + return true; } - // DO NOT RETURN HERE - testRsaSupport().then(function () { + return testRsaSupport().then(function () { console.info('[crypto] RSA is supported'); }).catch(function (err) { console.error('[crypto] could not use either EC nor RSA.'); console.error(err); window.alert("Your browser is cryptography support (neither RSA or EC is usable). Please use Chrome, Firefox, or Safari."); }); - - // RETURN HERE - return false; }); var apiUrl = 'https://acme-{{env}}.api.letsencrypt.org/directory'; @@ -238,7 +243,7 @@ if (jwk) { p = PromiseA.resolve(jwk); } else { - p = createKeypair(); + p = testKeypairSupport().then(createKeypair); } function createAccount(jwk) { From 55a30888ff0e8d69bb02720f438ffeaa1664092b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 15 Nov 2018 06:50:37 +0000 Subject: [PATCH 2/5] add privacy policy --- app/index.html | 10 ++- index.html | 10 ++- legal.html | 199 ++++++++++++++++++++++++++++++++++++++++++++++- legal/index.html | 1 + 4 files changed, 211 insertions(+), 9 deletions(-) create mode 120000 legal/index.html diff --git a/app/index.html b/app/index.html index e345eee..2bb0198 100644 --- a/app/index.html +++ b/app/index.html @@ -331,13 +331,16 @@ --> + -
-

- View Source (git) +
+ View Source (git) + | Terms of Service + | Privacy Policy +
+ diff --git a/index.html b/index.html index bb7e5d5..1260a96 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@
Domain, subdomain, or wildcard domain
- +
- View Source (git) + View Source (git) + | Terms of Service + | Privacy Policy
-

Why you need SSL certificates

- If your website doesn't have the green lock from an SSL Certificate, Google Chrome will soon label your website as not secure. +

Why you need HTTPS

+ SSL Certificates are required for secure login, accepting payments, and for browsers like Google Chrome to stop showing security warnings to your users.
- +
+ + +
+
diff --git a/legal.html b/legal.html index 3d4a1ff..128e197 100644 --- a/legal.html +++ b/legal.html @@ -91,7 +91,7 @@ so the purpose of our terms is to rule out some things that we think makes the world (and particularly our world) a worse place:

You agree that you will use the Greenlock™ service, code, libraries, -documentation, etc (provided by us, a.k.a. Root) +documentation, etc (provided by us) primarily for securing network connections for yourself, your customers, on your and your customer's devices on internets, intranets, and... other nets. From 1c57a342d02cd5ffe9eca07517a0702fb84b8daa Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 15 Nov 2018 06:57:35 +0000 Subject: [PATCH 4/5] reposition --- legal.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/legal.html b/legal.html index 128e197..13e9821 100644 --- a/legal.html +++ b/legal.html @@ -9,6 +9,16 @@ our needs for the current stage of our products and services. projects, which means that we do want to create brand value, grow community, and, eventually, be able to work full time on creating more great software and services. +

If you'd like to contact me, especially if you feel that I (or we) have made +a mistake in how we operate, please do so: + +

+ +

Contents

Here's what I've worked through so far:

-

If you'd like to contact me, especially if you feel that I (or we) have made -a mistake in how we operate, please do so: - -

-

Greenlock Domains™

Greenlock Domains is a service provided by From 8d31bf77543788d70bfd9f3ed5d804d1d66de7c6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 16 Nov 2018 05:50:15 +0000 Subject: [PATCH 5/5] GA -> web-only --- legal.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legal.html b/legal.html index 13e9821..1998036 100644 --- a/legal.html +++ b/legal.html @@ -186,7 +186,8 @@ we see many page visits in a certain browser (or installs with a new version of but few successful registrations, we know that something is wrong.

Other: -

We also use Google Analytics in a very minimal way. Other than that, nothing else comes to mind right now. +

We also use Google Analytics on our web sites for basic functionality. +Other than that, nothing else comes to mind right now. As we consider what we will do in the future, it will be measured against our mission and values. We never want to come across as spammy or forceful. We want to do things that help us build our brand, acknowledge our customers; things that are proactive, and that