Merge branch 'live-site' of ssh://git.coolaj86.com:22042/coolaj86/greenlock.html into live-site

This commit is contained in:
John Shaver 2019-03-16 21:58:16 -07:00
commit 65974b57c1
5 changed files with 245 additions and 37 deletions

View File

@ -148,7 +148,7 @@
<svg class="icon-unchecked-box" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<use xlink:href="#svg-unchecked"></use>
</svg>
Agree to &nbsp<a class="js-gl-tos" target="_blank" href="./legal/">Greenlock&trade; Terms of Service</a>?
Agree to &nbsp<a class="js-gl-tos" target="_blank" href="/legal/#terms">Greenlock&trade; Terms of Service</a>?
</label>
</div>
<!--
@ -324,19 +324,22 @@
<button type="submit">Start Over</button>
-->
</form>
</div>
<div><small><center>
<div>
<a href="https://git.coolaj86.com/coolaj86/greenlock.html" target="_blank">View Source</a> (git)
| <a href="https://greenlock.domains/legal/#terms" target="_blank">Terms of Service</a>
| <a href="https://greenlock.domains/legal/#privacy" target="_blank">Privacy Policy</a>
</div>
<!-- or
<pre><code>git clone https://git.coolaj86.com/coolaj86/greenlock.html.git</code></pre>
Or view the live site code (same as live-site branch):
<pre><code>wget https://greenlock.ppl.family --mirror --convert-links --adjust-extension --page-requisites --no-parent</code></pre>
-->
</center></small></div>
<br>
<br>
<br>
<br>
<div><small>
<h3></h3>
<a href="https://git.coolaj86.com/coolaj86/greenlock.html">View Source</a> (git)
<!-- or
<pre><code>git clone https://git.coolaj86.com/coolaj86/greenlock.html.git</code></pre>
Or view the live site code (same as live-site branch):
<pre><code>wget https://greenlock.ppl.family --mirror --convert-links --adjust-extension --page-requisites --no-parent</code></pre>
-->
</small></div>
<script src="./js/bacme.js"></script>
<script src="./js/app.js"></script>

View File

@ -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;
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.getItem('version', '1');
// 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) {

View File

@ -55,7 +55,7 @@
</div>
<button type="submit">Go</button>
<div class="domain-subtext">Domain, subdomain, or wildcard domain</div>
<div class="acme-advanced-fields">
<label><input name="acme-api-type" type="radio" value="v02" checked required>
Production
@ -64,15 +64,17 @@
Testing</label>
<input id="js-acme-api-url" type="url" placeholder="ACME directory url">
<div>
<a href="https://git.coolaj86.com/coolaj86/greenlock.html">View Source</a> (git)
<a href="https://git.coolaj86.com/coolaj86/greenlock.html" target="_blank">View Source</a> (git)
| <a href="https://greenlock.domains/legal/#terms" target="_blank">Terms of Service</a>
| <a href="https://greenlock.domains/legal/#privacy" target="_blank">Privacy Policy</a>
</div>
</div>
</form>
</div>
<div class="column-row">
<div class="why-you-need">
<h2>Why you need SSL certificates</h2>
If your website doesn't have the green lock from an SSL Certificate, Google Chrome will soon label your website as not secure.
<h2>Why you need HTTPS</h2>
SSL Certificates are required for secure login, accepting payments, and for browsers like Google Chrome to stop showing security warnings to your users.
</div>
</div>
<!-- or

View File

@ -1,4 +1,201 @@
You will use the Greenlock&trade; service, code, libraries, documentation, etc (provided by <a href="https://ppl.family">ppl</a>) for good, not evil (i.e. securing sites, not terrorizing underprivileged peoples or overpriviledged nations).
<h1>Greetings!</h1>
<p>I, AJ ONeal, am not a big fan of legalize, but I am a fan of communicating
clearly. I hope that this accomplish both defining some legal boundaries as well
as communicating in a friendly and clear way, at least to the degree that suits
our needs for the current stage of our products and services.
<p>This is important because it is our intent to create sustainable open source
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.
<p>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:
<ul>
<li><a href="mailto:coolaj86@gmail.com">coolaj86@gmail.com</a></li>
<li><a href="tel:+13852360466">+1 (385) 236-0466</a></li>
<li><a href="http://coolaj86.com">https://coolaj86.com</a></li>
</ul>
<h1>Contents</h1>
<p>Here's what I've worked through so far:
<ul>
<li><a href="#greenlock">Greelock Domains</a></li>
<li><a href="#licensing">Licensing</a></li>
<li><a href="#terms">Terms of Service</a></li>
<li><a href="#trademark">Trademark</a></li>
<li><a href="#privacy">Privacy</a></li>
</ul>
<h1 id="greenlock">Greenlock Domains&trade;</h1>
<p>Greenlock Domains is a service provided by
<em><a href="https://coolaj86.com">AJ</a>, Brian,
<a href="https://jshaver.net">John</a>, &amp; Josh</em>
(collectively <a href="https://therootcompany.com">Root</a>)
for automated TLS, SSL, and HTTPS.
<ul>
<li><a href="https://greenlock.domains" target="_blank">
https://greenlock.domains</a></li>
<li><a href="https://git.coolaj86.com/coolaj86/greenlock-express.js" target="_blank">
https://git.coolaj86.com/coolaj86/greenlock-express.js</a></li>
<li><a href="https://git.coolaj86.com/coolaj86/greenlock.js" target="_blank">
https://git.coolaj86.com/coolaj86/greenlock.js</a></li>
<li><a href="https://git.coolaj86.com/coolaj86/greenlock.html" target="_blank">
https://git.coolaj86.com/coolaj86/greenlock.html</a></li>
</ul>
<p>Greenlock Domains is an important product / service combo to us
because it's a huge milestone on the path to a more decentralized web.
We believe in <em>ownership</em> and <em>control</em> and we're
building a <a href="https://therootcompany.com">Home Server</a>
because we envision a world in which everyone is empowered to make
the choice of whether to rent or own their stuff.
<p>If we don't do this, well, with the way the cloud is headed,
renting may be the only option in the future.
<p>We need <em>Root</em> because we want ownership.
<p>If at any time you feel that any of our messaging or practices
are in conflict with our mission or these values, please let us know.
<h1 id="licensing">Licensing</h1>
<p>Each of our products comes with its own LICENSE file and the license(s)
may alse be in some sort of manifest file (such as package.json).
<p>We typically use the MIT and Apache-2.0 licenses for libraries that we
actively want others to copy, modify, use and redistribute.
<p>We typically use ISC and MPL-2.0 with products for which we're a little more
concerned about branding or about which we have particularly strong opinions.
<p>Although we do keep some of our software proprietary and we do use trademarks,
because we believe in empowerment and choice we do our best to provide usable
self-service forms of our products and services for personal use.
<p>If at any time you feel that our Licensing is in conflict with our mission or values,
please let us know.
<h1 id="terms">Terms of Service</h1>
<p>We want to make the world a better place.
Everyone has a different definition of what "a better place" means,
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:
<p>You agree that you will use the Greenlock&trade; service, code, libraries,
documentation, etc (provided by <a href="#greenlock">us</a>)
primarily for securing network connections for yourself, your customers,
on your and your customer's devices on internets, intranets, and... other nets.
<p>You agree that you will take reasonable measures to keep up-to-date with security
releases.
<p>You agree to not use our products or services in a way that would cause unusual
or undue burden on our servers or services, our partners servers or services, or our
customers servers or services, or in a way that harms or misrepresents the reputation
or brand value (including causing brand confusion) of the aforementioned parties
(or really anybody).
<p>This is not to say that you can't publicly have a negative opinion, but don't
bite the hand that feeds and don't be vicious or misrepresentative.
<p>If you have a use case that may be in violation of these terms (particularly
the part about undue burden), but you feel contributes to making the world a better
place, we're here to help (assuming it also aligns with our values).
Although it may not be appropriate to use our services, but perhaps we can help
you with a solution based on our no-cost, low-cost or open source products.
<p>If at any time you feel that our Terms of Service are in conflict with our
mission or values, please let us know.
<h1 id="trademark">Trademark</h1>
<p>"Greenlock" and the "green G lock" mark are Trademarks of
<a href="https://coolaj86.com" target="_blank">AJ ONeal</a>.
<p>We'll be coming out with a brand guide as to how you should use
the marks. In the meantime: don't change the proportions, colors
(excepting the case of greyscale and black and white).
<p>It is appropriate to use the trademark in a way that promotes the
brand with proper attribution, linking to the official project repositories, etc.
<p>It is appropriate use the name greenlock in a plugin for Greenlock&trade;,
as long as it is clear that it is a community contribution.
<p>If you create a "hard" fork of our code or any products or services,
you should give your fork its own name, and not use ours.
That sound, we gladly welcome your suggestiosn and pull requests.
<p>If you mirror our code you should make it clear that it is a mirror
and link to the official repository.
in association with usand the disclose that you use Greenlock
<p>If at any time you feel that our Trademark policies are in conflict with our
values, please let us know.
<h1 id="privacy">Privacy Policy</h1>
<p>What we collect and (more importantly) <em>Why</em>:
<p><strong>Name</strong>:
<p>In the cases that we collect your name, it's because we want to know how to address you.
All four of us want to be personable if and when we reach out.
<p><strong>Email</strong>:
<p>There are three main purposes for which we may use your email address:
<p>1. A one-time outreach to ask if you were able to do what you intended to do.
We want to make a great product. Although open source projects traditionally have
a <em>reactive</em> approach to communication (i.e. you file a bug and wait for a response),
we believe that creating sustainable open source requires a <em>proactive</em> approach.
<p>2. Security and legal notifications. It's important that we have a way to contact you
if we've made a mistake or discover a mistake that needs to be addressed. This
may include vulnerabilities as well as mandatory upgrades (such as when a
significant change to the Let's Encrypt API is made). Making sure that our products
work and are secure aligns with our values and contributes to our brand identity.
<p>3. Opt-in updates. Many of you want to know when we have significant feature updates
or when we have something that we believe is really valuable to share. We've created an
opt-in avenue for that. And you can always opt-out as well.
<p><strong>Telemetry</strong>:
<p>We believe that the current open source model needs improvement - it often
relies heavily on large centralized platforms which aggregate a lot of user
information for the platform without appropriately targeting the relationship
between authors and users of projcts (i.e. npm, github, etc). We believe that
making open source sustainable means a greater focus on empowering authors
and users. We've learned from other projects (Caddy, Heroku, and others) which
use telemetry as part of a proactive approach to open source and we believe that
it can be a great avenue for us to be proactive as well.
<p>We may use telemetry about operating system, browser, node version, code version,
and other system-level information to better understand how we can serve our users (you)
and proactively solve problems that we might not otherwise hear about. For example, if
we see many page visits in a certain browser (or installs with a new version of node),
but few successful registrations, we know that something is wrong.
<p><strong>Other</strong>:
<p>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
promote sustainable source.
<p>If at any time you feel that our Privacy policy is in conflict with our mission or values,
please let us know.
<br>
<br>
We will use your contact info for good, not evil (i.e. notifying as we improve the service or need to disclose important information, not spam or selling your data to the devil and his minions for filthy lucre).
<p>Copyright 2018 AJ ONeal

1
legal/index.html Symbolic link
View File

@ -0,0 +1 @@
../legal.html