Hurricane Electric Filtered Tunnel

➜ ~ sudo nmap -p - -6 paris.prokop.dev Starting Nmap 7.93 ( https://nmap.org ) at 2022-11-21 23:04 GMT Nmap scan report for paris.prokop.dev (2001:41d0:e:514::1) Host is up (0.062s latency). Other addresses for paris.prokop.dev (not scanned): 5.196.72.20 Not shown: 65518 closed tcp ports (reset) PORT STATE SERVICE 22/tcp open ssh 25/tcp filtered smtp 5355/tcp filtered llmnr 6660/tcp filtered unknown 6661/tcp filtered unknown 6662/tcp filtered radmind 6663/tcp filtered unknown 6664/tcp filtered unknown 6665/tcp filtered irc 6666/tcp filtered irc 6667/tcp filtered irc 6668/tcp filtered irc 6669/tcp filtered irc 6670/tcp filtered irc 6697/tcp filtered ircs-u 7000/tcp filtered afs3-fileserver 9999/tcp filtered abyss Nmap done: 1 IP address (1 host up) scanned in 119....

November 21, 2022 · 1 min · Bart Prokop

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 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 supports access to its customers public keys using two methods: WKD (Web Key Distribution) Exposes hkps server (host name: api.protonmail.ch) Using WKD Just retieve public key using the following command: $ gpg --locate-keys prokop.bart@pm.me gpg: key 6C74835C42CEF599: public key "prokop.bart@pm.me <prokop.bart@pm.me>" imported gpg: Total number processed: 1 gpg: imported: 1 pub rsa2048 2018-05-26 [SC] 49148230F11C0458BD19F45C6C74835C42CEF599 uid [ unknown] prokop.bart@pm.me <prokop.bart@pm.me> 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

Wkd Proton Mail Custom Key

Tried and realised that Proton Mail supports WKD. $ gpg --locate-key user@protonmail.com gpg: key 4DE32C2A10A7EBC2: public key "user@protonmail.com <user@protonmail.com>" imported gpg: Total number processed: 1 gpg: imported: 1 pub ed25519 2021-10-13 [SC] 67731B189D0908618DF665144DE32C2A10A7EBC2 uid [ unknown] user@protonmail.com <user@protonmail.com> sub cv25519 2021-10-13 [E]

June 13, 2022 · 1 min · Bart Prokop