Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Sep 28, 2023
1 parent e451b97 commit 528c966
Show file tree
Hide file tree
Showing 28 changed files with 674 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:19 PM EDT.

[production]
last 1 chrome versions
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Default

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Packages

Expand Down
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review `./settings.mjs`.
*
* Last generated using `./settings.mjs` Wed, Sep 27, 2023, 8:12:13 PM EDT.
* Last generated using `./settings.mjs` Thu, Sep 28, 2023, 2:42:18 PM EDT.
*/
{
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.autoIndent": "full",
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.wordWrap": "off",
"editor.wrappingIndent": "indent",
"editor.wordWrapColumn": 180,
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/? ─‘’“”",
"terminal.integrated.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/? ─‘’“”",
"files.eol": "\n",
"files.encoding": "utf8",
"files.trimFinalNewlines": true,
Expand Down Expand Up @@ -166,6 +171,7 @@
"commentAnchors.tags.separators": [" ", ": "],
"commentAnchors.workspace.excludeFiles": "**/{*.log,*.logs,*~,*.bak,*.rej,*.orig,*.patch,*.diff,*.code-*,.idea,.*.swp,*.ctags,.env.me,.tscache,*.tsbuildinfo,.vite,.vitest,.wrangler,.dev.vars,.dev.vars.*,.rollup,.webpack,.linaria-cache,.sass-cache,.docker,.vagrant,.elasticbeanstalk,.yarn,vendor,node_modules,jspm_packages,bower_components,.git,.svn,_svn,.svnignore,.bzr,.bzrignore,.hg,.hgignore,Thumbs.db,ehthumbs.db,Desktop.ini,$RECYCLE.BIN,._*,Icon,*.icloud,.DS_Store,.disk_label,.LSOverride,.VolumeIcon.icns,.com.apple.timemachine.*,.apdisk,.fseventsd,.AppleDB,.AppleDesktop,.AppleDouble,.Trashes,.TemporaryItems,.Spotlight-V100,.DocumentRevisions-V100,Network Trash Folder,Temporary Items,yarn.lock,composer.lock,package-lock.json,dist}/**",
"commentAnchors.workspace.matchFiles": "**/*.{mdx,md,markdown,mdown,mdwn,mkd,mdtxt,mdtext,html,htm,shtml,shtm,xhtml,xhtm,ejs,liquid,php,phtml,phtm,phps,asp,aspx,rb,py,pl,plx,cgi,ppl,perl,bash,zsh,sh,js,jsx,mjs,mjsx,cjs,cjsx,ts,tsx,mts,mtsx,cts,ctsx,xsl,xslt,xml,xsd,dtd,atom,rdf,rss,rss2,rss-http,asx,dfxp,svg,kml}",
"extensions.ignoreRecommendations": false,
"eslint.enable": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": false,
Expand All @@ -184,6 +190,7 @@
},
"javascript.validate.enable": true,
"typescript.validate.enable": true,
"javascript.suggestionActions.enabled": false,
"css.validate": false,
"scss.validate": false,
"less.validate": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Wed, Sep 27, 2023, 8:12:13 PM EDT.
# Last generated Thu, Sep 28, 2023, 2:42:18 PM EDT.

# Locals

Expand Down
130 changes: 130 additions & 0 deletions dev/.files/bin/ssl-certs/generate.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
#!/usr/bin/env bash
##
# Generates new keys/certificates.
#
# Please consider carefully before running this again.
# The certificates generated by this script are already
# set as trusted by those working on Clever Canyon products.
##

cd "$(dirname "${BASH_SOURCE[0]}")" || { echo 'CD failure.' >&2 && exit 1; }
. ../../../../node_modules/@clevercanyon/utilities.bash/dist/load.bash || { echo 'Load failure.' >&2 && exit 1; }

# Configuration of SSL certs.
# A few variables for CLI args below.

output_dir=. # Current directory.
days=395 # {@see https://o5p.me/Fz1NWM}.

key_usages=$(
tr -d '\n' <<- 'ooo'
digitalSignature,
nonRepudiation,
keyEncipherment,
dataEncipherment,
keyAgreement,
keyCertSign,
cRLSign
ooo
)
extended_key_usages=$(
tr -d '\n' <<- 'ooo'
serverAuth,
clientAuth,
codeSigning,
emailProtection,
anyExtendedKeyUsage
ooo
)
subject=$(
tr -d '\n' <<- 'ooo'
/L=Auburn
/ST=ME
/C=US
/O=Clever Canyon
/OU=Engineering
/CN=clevercanyon.com
/[email protected]
ooo
)
# Browsers don’t acknowledge `*.tld`, because that would effectively
# cover everything on an entire TLD. That’s why we have `*.x.tld`.
# See: <https://o5p.me/YPcyex> for further details.
subject_alt_names=$(
tr -d '\n' <<- 'ooo'
IP:::1,
IP:127.0.0.1,
DNS:mac,
DNS:*.mac,
DNS:*.x.mac,
DNS:loc,
DNS:*.loc,
DNS:*.x.loc,
DNS:dkr,
DNS:*.dkr,
DNS:*.x.dkr,
DNS:vm,
DNS:*.vm,
DNS:*.x.vm,
DNS:local,
DNS:*.local,
DNS:*.x.local,
DNS:localhost,
DNS:*.localhost,
DNS:*.x.localhost,
DNS:clevercanyon.com,
DNS:*.clevercanyon.com,
DNS:hop.gdn,
DNS:*.hop.gdn
ooo
)
# Start clean each time.

rm -f ./openssl/store/certs/*
rm -f ./openssl/store/certs-db
rm -f ./openssl/store/certs-db.*
rm -f ./openssl/store/serial-db

if [[ ! -d "${output_dir}" ]]; then mkdir -p "${output_dir}"; fi
if [[ ! -d ./openssl/store/certs ]]; then mkdir -p ./openssl/store/certs; fi
touch ./openssl/store/certs-db

# Root & intermediate CA keys.

openssl genrsa -out "${output_dir}"/root-ca-key.pem 4096
openssl genrsa -out "${output_dir}"/i10e-ca-key.pem 4096

# Root CA certificate.

openssl req -config ./openssl/config.ini -extensions v3_ca \
-new \
-x509 \
-nodes \
-sha512 \
-days "${days}" \
-key "${output_dir}"/root-ca-key.pem \
-out "${output_dir}"/root-ca-crt.pem \
-subj "${subject}" -addext 'subjectAltName = '"${subject_alt_names}" \
-addext 'keyUsage = '"${key_usages}" -addext 'extendedKeyUsage = '"${extended_key_usages}"

# Intermediate CSR & CA certificate.

openssl req -config ./openssl/config.ini -extensions v3_i10e \
-new \
-nodes \
-sha512 \
-key "${output_dir}"/i10e-ca-key.pem \
-out "${output_dir}"/i10e-ca-csr.pem \
-subj "${subject}" -addext 'subjectAltName = '"${subject_alt_names}" \
-addext 'keyUsage = '"${key_usages}" -addext 'extendedKeyUsage = '"${extended_key_usages}"

openssl ca -config ./openssl/config.ini -extensions v3_ca \
-notext \
-batch \
-md sha512 \
-rand_serial \
-days "${days}" \
-cert "${output_dir}"/root-ca-crt.pem \
-keyfile "${output_dir}"/root-ca-key.pem \
-in "${output_dir}"/i10e-ca-csr.pem \
-out "${output_dir}"/i10e-ca-crt.pem
45 changes: 45 additions & 0 deletions dev/.files/bin/ssl-certs/i10e-ca-crt.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
-----BEGIN CERTIFICATE-----
MIIH/zCCBeegAwIBAgIULOnxwkGlDFgpLyNx1Z24zXz7GhwwDQYJKoZIhvcNAQEN
BQAwgZsxDzANBgNVBAcMBkF1YnVybjELMAkGA1UECAwCTUUxCzAJBgNVBAYTAlVT
MRYwFAYDVQQKDA1DbGV2ZXIgQ2FueW9uMRQwEgYDVQQLDAtFbmdpbmVlcmluZzEZ
MBcGA1UEAwwQY2xldmVyY2FueW9uLmNvbTElMCMGCSqGSIb3DQEJARYWYWRtaW5A
Y2xldmVyY2FueW9uLmNvbTAeFw0yMzA5MjgxODIwMzNaFw0yNDEwMjcxODIwMzNa
MIGKMRkwFwYDVQQDDBBjbGV2ZXJjYW55b24uY29tMQswCQYDVQQGEwJVUzELMAkG
A1UECAwCTUUxFjAUBgNVBAoMDUNsZXZlciBDYW55b24xFDASBgNVBAsMC0VuZ2lu
ZWVyaW5nMSUwIwYJKoZIhvcNAQkBFhZhZG1pbkBjbGV2ZXJjYW55b24uY29tMIIC
IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAl5Zj6XeTlwGK02xCS+ixCNwp
lDvREdj87U6K1zog6zqbjRxAvGCdY5mtgu0o8hUe3UELm2SUotVQb6C/tknqrPnX
2Xe/DzMXQoaGEcslNOuB/O2ogK/X31rVRoBOAIDY+1x94+WnrVQ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oje
2tCnjaSuJU/UyZEwgAnmjsdJenWv7DIdhV/9FSjZv3EoeX4FzBI2dvIXrOdeQ3xp
WFzSos+wDg==
-----END CERTIFICATE REQUEST-----
52 changes: 52 additions & 0 deletions dev/.files/bin/ssl-certs/i10e-ca-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PRIVATE KEY-----
MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQCXlmPpd5OXAYrT
bEJL6LEI3CmUO9ER2PztTorXOiDrOpuNHEC8YJ1jma2C7SjyFR7dQQubZJSi1VBv
oL+2Seqs+dfZd78PMxdChoYRyyU064H87aiAr9ffWtVGgE4AgNj7XH3j5aetVA64
YfCaRfxuG1/jPFvi1f9xyOLjk9ldAMkvhAJOYyKWTNevGWJkCERaDU0Ceugrxg4w
Bo9b70sbhp2yI0qNjFActT9Hua3qVwCB4ImVWr1XrQ4usfF2uv/3s8QBUBrISTnG
DoflC3+KahGKhrEfwE11nKSujKjov9sw1AgMCD7q3rUjn1rCcH0engi3CGhoXO8R
cpZgFA48g9uESiU8tKCYbm7lBId5JvWAWFPs05hcZEXMDwOsi0y8Gv5bPLnEABou
OGyP8Mx1+ie8ZWpxXiSzbtTmvJT5tEGJ3hnU3hj0J4MuoUybozfZMuoyBLhNn1sf
V9+5RV5e6uUst1bJkOVs+7OCwvQO4GgPu23luPqtzuZPIfsUJlwxB2Qqk03FrPlA
xWvff2NYFtw1XkyIja3nctJfoZJRcBJHXfWP5gCYbkxoew0Ptla9Yfow3yzkzyU7
XYabzp83smyo/y9O+VKJadHlEC/F0qbe/18LDcw9bg+cdru1ePDs+snhbgOZ+aLa
cT+2K4QX9/ugFbqck58jObo/Ssc0OQIDAQABAoICABcfa3h9SH1Je3CE/CyRvzt6
QI9qJm83WbF7KxuUiYPy3y/BsQWVzpGXALbOz/xJXiQNhs86eEp0Xn4rQkMfTar6
u2234eQtfMKlkYWHptJxNYABjT6qqV5af9uZY7dDmur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X7w+Qmnh20D/mNLxRjJ8dOk/GUgKqgrXKUbSkWqHkQUD4++M9mS0t
Ha2iBzDenzAqcaHrXcWNxL/43g7w5LO2aSKc87Gno/dEfxTw0ACvJQcTAR1yS1jq
HXJOJJja7ctXkZbDZhmorBmh3uZ4pHXTmHKrOsLaaCXSIvSZDLNv12da0byn7AqJ
3HfDhbpEGOz0szbWut/dayxK3THjdr41
-----END PRIVATE KEY-----
12 changes: 12 additions & 0 deletions dev/.files/bin/ssl-certs/macos/update/keychain.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
##
# Tells macOS to trust our CAs.
##

cd "$(dirname "${BASH_SOURCE[0]}")" || { echo 'CD failure.' >&2 && exit 1; }
. ../../../../../../node_modules/@clevercanyon/utilities.bash/dist/load.bash || { echo 'Load failure.' >&2 && exit 1; }

# Adds root & intermediate CAs to macOS system keychain.

sudo security -v add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ../../root-ca-crt.pem
sudo security -v add-trusted-cert -d -r trustAsRoot -k /Library/Keychains/System.keychain ../../i10e-ca-crt.pem
Loading

0 comments on commit 528c966

Please sign in to comment.