Deterministic PGP key generation

Passphrase I wrote small utility to generate BIP-39 compatible passphrases. One needs Java runtime to run it. # Note - when downloading, check for latest version $ wget https://repo1.maven.org/maven2/dev/prokop/crypto/crypto-bips/1.0.2/crypto-bips-1.0.2-standalone.jar $ java -jar crypto-bips-1.0.2-standalone.jar bip39 -l 512 trim mango orphan craft together topic unique merry autumn little economy actress brief dog deny syrup turkey mother slab detail crucial doll water rug original trash course bid option assume pulse witness upon steak ranch whisper great beach enhance delay junior couple twelve bargain rib mass hazard panther The above uses 512 bits for seed and then convert it to a pass phrase....

August 13, 2022 · 2 min · Bart Prokop

My Network Setup

In this blog entry, I will cover how badly I over-engineered home network. Site VLANs So for each “site” (house/flat/car/boat/portable router), I keep constant VLAN schema. VLANs are always implemented on edge router and switches. VLAN Description Interface Remarks and use-case 1 Default LAN eth1 This is always untagged on all Ethernet LAN ports 2 Vendor Reserved My Netgear Switch reserves those 3 Vendor Reserved My Netgear Switch reserves those 4 IPv4 Only (DMZ) eth1....

July 2, 2022 · 4 min · Bart Prokop

Fix Broken Broadband

Substandard service So it is mid-2022 and my broadband is: PPPoE No IPv6 MTU at 1492 locked down router based on OpenWRT that provider thinks is awesome no static IP Time to fix as many things as can be fixed. Prerequisites There are two: Call ISP and get your PPPoE username and password. Quite often you need make few calls/online chats. Bin the provided “router” and connect something decent to ONT....

June 25, 2022 · 9 min · Bart Prokop

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