From: Matt Birkholz Date: Thu, 20 Nov 2025 23:36:13 +0000 (-0700) Subject: Install root@core's public key in /etc/root-pub.pem. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2f652e23b37f8ab6bbc31e0dc0349dbb99904992;p=Institute.git Install root@core's public key in /etc/root-pub.pem. Thus anyone can send encrypted email to root with the --recipient-file option to gpg. This might have simplified the hacked passwd command if it did not have to run as sysadm anyway, for /etc/shadow access. --- diff --git a/README.org b/README.org index 49b2044..6993612 100644 --- a/README.org +++ b/README.org @@ -6383,7 +6383,7 @@ close $TMP; my $O = new IO::File; open $O, ("| gpg --encrypt --armor" - ." --trust-model always --recipient root\@core" + ." --recipient-file /etc/root-pub.pem" ." > $tmp") or die "Error running gpg > $tmp: $!\n"; print $O < $tmp") or die "Error running gpg > $tmp: $!\n"; print $O <