h=$_sev_gpg_forward_dir/$$
mkdir -pm700 $h
# XXX: is it safe to link scdaemon socket? can its name be changed?
- for x (S.scdaemon gpg.conf gpg-agent.conf sshcontrol
- pubring.kbx trustdb.gpg private-keys-v1.d crls.d) {
+ for x (S.scdaemon gpg.conf gpg-agent.conf sshcontrol random_seed
+ pubring.kbx{,~} trustdb.gpg private-keys-v1.d crls.d) {
ln -s ${GNUPGHOME:-~/.gnupg}/$x $h
}
export GNUPGHOME=$h