Are OTP secrets stored in plaintext

What happens with OTP secrets when a user database get leaked? Could the attacker use them to gain your other sensitive information? How are they even stored on the server? Storing password One of the widely used method to log into some service day is still via form of a password…

Sync Keepass passwords between your computer and phone

The release of the KeepassDX v2.9 brings working autofill in Chrome based browsers in addition to Firefox based ones, here's how to use it on the Android phone with passwords stored on your Arch linux computer. Start by installing required apps on the phone, for instance via F-D…

Why I use losetup instead of udisksctl

Accessing raw filesystem image partitions without the need to specify the offset and size manually # udisksctl sudo pacman -S udisks2 man 1 udisksctl # losetup sudo pacman -S util-linux man 8 losetup udisksctl Root permissions are not required udisksctl loop-setup --read-only -…

Cross package Node app for ARM using QEMU and Docker

Download 2020-08-20-raspios-buster-armhf-lite.zip from the official site Install required tools sudo pacman -S unzip util-linux docker Start Docker service sudo systemctl start docker.service Add yourself into the docker group, otherwise permissions are needed sudo usermod …

How to emulate Raspios natively in QEMU

Download 2020-08-20-raspios-buster-armhf-lite.zip from the official site Install required tools sudo pacman -S unzip util-linux qemu qemu-arch-extra Minimal required QEMU version is 5.1 qemu-system-aarch64 --version # QEMU emulator version 5.1.0 Ethernet is shared with USB co…

How to run latest Node on an emulated RevPi

Download the latest RevPi Stretch image, based on Raspbian Buster kunbus_release from the official site Download kernel-qemu-4.19.50-buster and versatile-pb-buster.dtb from dhruvvyas90/qemu-rpi-kernel Install required tools sudo pacman -S qemu unzip qemu-arch-extra Extract th…

How not to create a Node executable for ARM

There is one thing I would like to do properly for a quite some time: Create executable NodeJS application on an x64 machine for ARMv6 Now I have mastered the process to some extent, with the following steps: Write an app on a host x64 machine scp sources to the target ARMv6 mac…