My Arch Linux Tweaks

Switching my shell to zsh First, zsh usually does not come pre-installed. sudo pacman -S zsh chsh -l chsh -s /usr/bin/zsh Then after re-logging, I go with “do nothing”: This is the Z Shell configuration function for new users, zsh-newuser-install. You are seeing this message because you have no zsh startup files (the files .zshenv, .zprofile, .zshrc, .zlogin in the directory ~). This function can help you with a few settings that should make your use of the shell easier....

June 25, 2022 · 2 min · Bart Prokop

Retrieving PGP key from protonmail using gpg

It seems that Proton Mail publishes its customers public keys using at leasts two methods: WKD (Web Key Distribution) Exposes hkps server (host name: api.protonmail.ch) Using WKD Just retrieve public key using by issues the following command: $ gpg --locate-keys [email protected] gpg: key 6C74835C42CEF599: public key "[email protected] <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1 pub rsa2048 2018-05-26 [SC] 49148230F11C0458BD19F45C6C74835C42CEF599 uid [ unknown] [email protected] <[email protected]> sub rsa2048 2018-05-26 [E] Of course it would be good to sign the key and distribute signed one to some public key server....

June 15, 2022 · 1 min · Bart Prokop

Marginal Trust

Marginal Trust downloading required keys... :: Import PGP key 0F65C7D881506130, "Maxime Gauduin <[email protected]>"? [Y/n] (38/38) checking package integrity Import PGP key 0F65C7D881506130, "Maxime Gauduin <[email protected]>" 237 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0e8b644079f599dfc1ddc3973348882f6ac6a4c2" > 0x6AC6A4C2.gpg 241 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xab19265e5d7d20687d303246ba1dfb64fff979e7" > 0xFFF979E7.gpg 246 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x91ffe0700e80619ceb73235ca88e23e377514e00" > 0x77514E00.gpg 248 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xd8afdda07a5b6edfa7d8ccdad6d055f927843f1c" > 0x27843F1C.gpg 250 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2ac0a42efb0b5cbc7a0402ed4dc95b6d7be9892e" > 0x7BE9892E.gpg 251 curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x159f3a43aeb246c5746c033814bc4f30b3b92eba" > 0xB3B92EBA.gpg prokop_bart@cloudshell:~/code/gpg-keys/trusted/arch-master$ gpg --import * gpg: key D6D055F927843F1C: 6 signatures not checked due to missing keys gpg: key D6D055F927843F1C: public key "Levente Polyak (Arch Linux Master Key) <anthraxx@master-key....

June 11, 2022 · 4 min · Bart Prokop

Btrfs on Luks

Further maintenance Scrubbing Regularly scrub your drive… # btrfs scrub start /mnt/t20raid # btrfs scrub status /mnt/t20raid # watch 'btrfs scrub status /mnt/t20raid' This is example “work in progress”: Every 2.0s: btrfs scrub status /mnt/t20raid t20: Sun Aug 14 14:39:52 2022 UUID: 9f65175e-ec44-4fbf-a28d-cc10ef1a799e Scrub started: Sun Aug 14 14:32:07 2022 Status: running Duration: 0:07:40 Time left: 0:09:38 ETA: Sun Aug 14 14:49:30 2022 Total to scrub: 302.91GiB Bytes scrubbed: 134.13GiB (44....

June 5, 2022 · 1 min · Bart Prokop