meta.sr.ht/contrib/key-expiration
Simon Ser e34350b3a2 contrib/key-expiration: fix invalid Printf format specifier
contrib/key-expiration/main.go:94:4: log.Printf format %s has arg id of wrong type int64
2024-01-09 10:25:09 +01:00
..
README.md Start tracking PGP key expiration in database 2022-07-06 10:33:56 +02:00
main.go contrib/key-expiration: fix invalid Printf format specifier 2024-01-09 10:25:09 +01:00

README.md

Calculate PGP key expiration dates

This is a small tool to help with adding a key expiration date to the meta.sr.ht database. It will iterate over all keys that currently don't have an expiration date set in the database, check if the key has one, and if so, update the database accordingly. Running this script multiple times wastes some CPU cycles, but is otherwise idempotent. Hence, it is also no problem if a run is aborted for some reason. It can simply be restarted.

Build with go build and run the resulting executable on meta.sr.ht.