Location via proxy:   
[Report a bug]   [Manage cookies]                
Saturday, 19. April 2025 Week 16

PGP key lookup via WKD

The Web Key Directory (WKD) is a standard for discovery of OpenPGP keys by email address, via the domain of its email provider.
The following command can be used to test/import a key via WKD.

gpg --locate-keys --auto-key-locate clear,nodefault,wkd address@example.org

(via)

pgp-expiry-monitor now with fingerprint lookup

Added a -f flag to the pgp-expiry-monitor tool.
It takes the fingerprint of a PGP key and looks it up on keys.openpgp.org to get the keyfile to verify.

% pgp-expiry-monitor -f 401F1D483C69BF624364CC01E9A68DCFA3A54203 -v
Key A3A54203 (401f1d483c69bf624364cc01e9a68dcfa3a54203) expires on 2030-04-13
Key 29A48884 (1e8838bdcf9adf702496866f6baf170e29a48884) expires on 2025-10-15
Key B645E283 (47122b88b77ece545effb494498ea9eab645e283) expires on 2025-11-17
Key 93DDE912 (2f21f0dd9af127d61363423d4099876b93dde912) expires on 2027-04-24
Key 0240ACAF (a1f4c70962f89c2e628e8f05d29a32fd0240acaf) expires on 2026-04-09
Key 0B691623 (0d0bc31f58b8d18cb97c31eeebd187b60b691623) expires on 2027-04-13
Key 3AB76067 (43a83177a4ec64a62bae1ac77d779e883ab76067) expires on 2026-04-09
Key 7AE809A1 (9a6d5dbde2703d7c54806f1b5acb66c47ae809a1) expires on 2027-04-13
Thursday, 17. April 2025 Week 16

Slobsquatting

Hallucinated package names fuel 'slopsquatting'.

All that's required is to create a malicious software package under a hallucinated package name and then upload the bad package to a package registry or index like PyPI or npm for distribution. Thereafter, when an AI code assistant re-hallucinates the co-opted name, the process of installing dependencies and executing the code will run the malware.

(via)

Monday, 14. April 2025 Week 16

pgp-expiry-monitor

To ensure I don't forget to rotate/extend one of the subkeys of my PGP key, I created a little monitoring tool.
I wanted something that reminds me well before my published PGP key shows sign of expiry.
And I wanted it built in a way so it can be used in a simple cronjob to continuously nag me until the expiring key has been replaced. 😈

So pgp-expiry-monitor was born.
It takes two parameters, the URL of a PGP key and the number of days in advance it should start warning.
If all is fine and the PGP key does not contain any expiring keys, it returns without any output. Thus ideal for a cronjob.

Sunday, 13. April 2025 Week 15

Add new ECC GPG subkeys

One of my yearly digital routines is to update my GPG key.
Part of this involves adding new ECC subkeys (ECDH and EdDSA).
These are the commands I used this time (so I don't have to look them up again next year).

% gpg --edit-key 401F1D483C69BF624364CC01E9A68DCFA3A54203
gpg> addkey
Select number 10 ECC signing
Select number 1 Curve 25519
Select a validity of 2y
gpg> addkey
Select number 12 ECC encryption
Select number 1 Curve 25519
Select a validity of 2y
gpg> save

After this the new subkeys are available and the updated public key can be exported and published.

Tuesday, 8. April 2025 Week 15
Sunday, 6. April 2025 Week 14
Saturday, 5. April 2025 Week 14

50 ways to rest

50 ways to rest – Nicola Jane Hobbs

For anyone else who is in a season of their life where naps and hot baths and yoga classes are inaccessible, we can still rest. We might not be able to get the rest we truly need, but we can find little pockets of respite among the demands and responsibilities of our lives.

50 ways to rest
Take a slow deep breath. Relax your shoulders. Soften your jaw.
Turn your face towards the sun. Sway your hips. Hug a loved one.
Hug yourself. Sigh. Yawn. Cry. Bake. Knit. Read. Dawdle. Doodle.
Daydream. Stretch. Give your feet a little massage. Have a hot shower. Savour the smell of the soap when you wash your hands.
Chat to a neighbour. Wait for the green man. Turn off your phone. Put on your cosiest jumper. Take off your bra. Wear trousers with a loose waistband. Watch an episode of your favourite show. Wander slowly around the block. Look at the trees.
Look at the clouds. Look at the moon. Stand barefoot on grass. Do one thing at a time. Eat leftovers for dinner. Go to bed early. Lie on the floor. Stop Googling things. Listen to the birds. Listen to the rain. Listen to the silence. Light a scented candle. Avoid work-related activities in non-work time. Connect with your values.
Share what's in your heart. Turn the lights down low. Let there be crumbs. Meet your worries with gentleness. Meet your fears with tenderness. Meet your self-critical thoughts with compassion.
Remind yourself again and again, 'I am allowed to rest. I am worthy of rest. There is nothing I need to do to deserve rest'.
Nicola Jane Hobbs

(via)

Friday, 28. March 2025 Week 13