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

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

Marginal Trust

Marginal Trust downloading required keys... :: Import PGP key 0F65C7D881506130, "Maxime Gauduin <alucryd@archlinux.org>"? [Y/n] (38/38) checking package integrity Import PGP key 0F65C7D881506130, "Maxime Gauduin <alucryd@archlinux.org>" 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

My First Post

My first post here Really this is just a test, what would come out from the following command: hugo new posts/my-first-post.md Learning no. 1: update .\archetypes\default.md will save time in the future. Learning no. 2: add mainSections to config.yml, otherwise your posts might not end-up on main page. Read what mainSections default to. So as of today, let’s contribute to this blog.

May 29, 2022 · 1 min · Bart Prokop