Thanks to xdg-ninja for analysing my home folder.
Install and configure gpg and gpg-agent. Add my own public key as a test.