Martins Blog
About Tags Contact

May 29, 2019

Written by

Sops

Intro to sops This is just a very quick intro to sops an open sourced secrets management tool from mozilla. Sops can be used to transparently encrypt full, or partially config files, transparently in the sense that the keys in a yaml, json won’t be encrypted only the values, which allows to version control the file with git and more. To create an with your gpg key ‘encrypted’ file run:

Tags:  security ,  encryption

Jul 12, 2018

Written by

Systemd Nspawn Raspbian

use systemd-nspawn to boot raspbian image The setup is a bit tricky and some things might have to be changed, but it should basically work. setup the loopback devive using: loosetup -f -P <path_to_img>.img as root and lets assume the output is /dev/loop1. make sure you have the prerequistes: qemu-user-static binfmt-support run sudo update-binfmts --enable qemu-arm or something similar create a mount point, lets assume mnt in the current directory mount the image mount /dev/loop1p1 mnt try to start a chroot using systemd-nspawn --bind /lib64 --bind /usr/bin/qemu-arm-static -D mnt /bin/bash as root.

Tags:  linux ,  lxd ,  systemd-nspawn ,  qemu ,  raspberry ,  embedded

Copyright © 2017
Powered by Hugo & Pixyll