Configuration steps for a lab CA, created using EJBCA CE and Nitrokey HSM.
Hardware: Raspberry Pi 4 Model B
Crypto token: Nitrokey HSM 2
As sometimes I use a TKL keyboard without multimedia keys, I wanted Right Win and some other key combination to control audio volume.
My keyboard layout is us
and I am using Left Win key assigned to mod4 as the modifier key. The spacebar row on my keyboard looks like this:
[Ctrl] [Left Win] [Alt] [Space] [Alt] [Right Win] [Menu] [Ctrl]
Installation steps for running Arch Linux with root on ZFS using UEFI and systemd-boot
. All steps are run as root
.
Requires an Arch Linux image with ZFS built-in (see References).
If using KVM, add a Serial number for each virtual disk and reboot the VM. The disks should now be available in /dev/disk/by-id
as virtio-<Serial>
.
#!/usr/bin/env bash | |
# | |
# CPU isolation in QEMU/KVM | |
# | |
# As the cset scripts no longer work (systemd switched to cgroups v2), this is my | |
# attempt at emulating its functionality. It may be incorrect and/or it may break | |
# stuff. Blind copy-pasting with some reasoning follows. | |
# | |
# Host: |
#!/bin/bash | |
echo | |
echo "to exit, press Ctrl-C and wait for the locomotive to pass" | |
echo | |
sleep 3 | |
clear | |
trap "exit" INT | |
declare -a ca=( "-a" "-l" "-F" "-c" "-al" "-aF" "-ac" "-lF" "-lc" "-alF" "-alc" "-lFc" "-alFc") |
UTF-8 encoded sample plain-text file | |
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | |
Markus Kuhn [ˈmaʳkʊs kuːn] <http://www.cl.cam.ac.uk/~mgk25/> — 2002-07-25 CC BY | |
The ASCII compatible UTF-8 encoding used in this plain-text file | |
is defined in Unicode, ISO 10646-1, and RFC 2279. | |
Using Unicode/UTF-8, you can write in emails and source code things such as |