Rootless podman best practice

Posted on Sat 13 May 2023 in misc • Tagged with containers, podman

Podman is a daemonless container engine that runs OCI and Docker compatible containers.

A podman container can be executed in four ways:

  1. A rootfull container (i.e., the container is started as the host user "root") with a container application running as root. With this the container application has access …

Continue reading

Don't staple the horse's battery (or: create better passwords)

Posted on Thu 09 March 2023 in misc • Tagged with Passwords, XKCD, Dice words

Introduction

Many of you may have seen the famous XKCD cartoon regarding password strength where Randall Munroe, the author, advocates creating a passphrase based on four random words and remembering it by creating a sentence containing the words. If you've already seen the cartoon, before actually clicking the link, let …


Continue reading

Cryptographic signatures in Bitcoin

Posted on Tue 22 February 2022 in misc • Tagged with Cryptography, ECDSA, Schnorr

Introduction

This blog describes at a technical level how Ellyptic Curve Cryptography (ECC) is used for signing Bitcoin transactions. Caveat emptor: I am not a mathematician let alone a cryptographer. I created this document mainly for helping myself understand how ECC is applied and welcome any correction on errors present …


Continue reading

Running djbdns in a podman container

Posted on Sat 08 January 2022 in misc • Tagged with docker, podman

I have been using djbdns for several years now and I still love it. Tiny, secure, maybe not as beginner friendly but I don't mind that. I previously used an RPM file that I first build on Enterprise Linux 6 which cleanly build on EL7 as well, but EL8 is …


Continue reading

BTCStick Howto

Posted on Tue 26 November 2019 in misc • Tagged with usb, uefi, legacy bios, bitcoin

Introduction

This manual describes the content and usage of the “BTCStick” USB pen drive. This is a bootable USB disk image that contains various bitcoin related tools to use offline. The system was developed for the author’s personal use case to safely run such tools. The stick was inspired …


Continue reading

Creating a UEFI and BIOS bootable Linux installation on USB

Posted on Thu 27 June 2019 in misc • Tagged with usb, uefi, legacy bios

I had a need for a USB stick with an installed version of Linux that was bootable with UEFI (and Secure Boot) as well as Legacy BIOS. I couldn't use a live stick because I needed to employ an encrypted Luks root filesystem and swap partition because it would contain …


Continue reading