#!/bin/bash # first, make sure that your GPG keys are all imported, or make a new key # also stow the gpg package # gpg-connect-agent reloadagent /bye # ssh-add ~/.ssh/id_ed25519 sudo patch /etc/pam.d/system-login ./gpg/pambase_system-login.diff