This program should be runnable as a systemd user service to periodically query the user's PGP key and lock the screen if the key is locked.

5 lines
95 B

module github.com/Rudi9719/pgplockd
go 1.16
require github.com/coreos/go-systemd/v22 v22.1.0