For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
#!/bin/bash | |
# generate new personal ed25519 ssh keys | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>" | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <[email protected]>" | |
# generate new host cert authority (host_ca) ed25519 ssh key | |
# used for signing host keys and creating host certs | |
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network |
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
#env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
//finite state machine | |
const machine = { | |
state: "SOBER", | |
transitions: { | |
SOBER: { | |
drink: function(beverage, second) { | |
console.log("current state", this.state); | |
console.log("\tdrinking", beverage.type); //second would be undefined | |
if (beverage.type == "alcohol") { | |
console.log("\tAdios inhibitions!"); |
//finite state machine | |
const machine = { | |
state: "SOBER", | |
drunklevel: 0, | |
transitions: { | |
SOBER: { | |
drink: function(beverage, second) { | |
console.log("current state", this.state, this.drunklevel); | |
console.log("\tdrinking", beverage.type); //second would be undefined | |
if (beverage.type == "alcohol") { |
This guide will use either a macOS or an ArchLinux base system, to prepare a microSD card with Arch Linux for Raspberry Pi.
If someone managed to do the initial setup using Windows, please let me know, so I can add to this guide.
This guide will be verbose at times for some simple tasks. This is intended to help people just starting out, so it's not confusing. If something confuses you, let me know and I'll try my best to answer it.