From 7eb6b0f08db1fb351895d90a1658c7cdecfab361 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 23 Jun 2024 20:22:52 +0900 Subject: [PATCH] Update frankfurt key --- docs/setup.sh | 19 ------------------- keys/hosts/frankfurt-linode-01.asc | 7 +++---- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/docs/setup.sh b/docs/setup.sh index 854c527c..cc86d91a 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -10,19 +10,6 @@ sudo mkdir /home/albert/.config sudo chown albert:albert /home/albert/.config sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert home-manager switch -b backup --flake /etc/nixos/git -# source ~/.bashrc - -# Import and trust the GPG key -# echo ">>> Setting up user GPG key..... " -# drive=$(lsblk -o serial,name | grep NGN130R000980P2202 | awk {'print $2'}) -# sudo mkdir -p /tmp/drive -# sudo cryptsetup luksOpen /dev/${drive}3 usb-luks -# sudo mount /dev/mapper/usb-luks /tmp/drive -# gpg --import /tmp/drive/gpg/albert@sysctl.io/keys.pgp -# sudo umount /tmp/drive -# sudo rmdir /tmp/drive -# sudo cryptsetup luksClose /dev/mapper/usb-luks -# echo -e "5\ny\n" | gpg --command-fd 0 --expert --edit-key albert@sysctl.io trust # Setup SOPS echo "Setting up SOPS keys..... " @@ -49,12 +36,6 @@ echo "" >> ./keys/ssh/keys.txt echo "# (`date`) `whoami`@`hostname`" >> ./keys/ssh/keys.txt cat /home/albert/.ssh/id_ed25519.pub >> ./keys/ssh/keys.txt -# echo ">>> Setting up Distributed Build SSH Keys..... " -# sudo ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -N "" -# echo "" >> ./keys/ssh/builder-keys.txt -# echo "# (`date`) root@`hostname`" >> ./keys/ssh/builder-keys.txt -# sudo cat /root/.ssh/id_ed25519.pub >> ./keys/ssh/builder-keys.txt - # Add all changes to git and and push echo ">>> Pushing to git..... " git add keys/hosts/`hostname`.asc diff --git a/keys/hosts/frankfurt-linode-01.asc b/keys/hosts/frankfurt-linode-01.asc index 9fb6285b..6913257d 100644 --- a/keys/hosts/frankfurt-linode-01.asc +++ b/keys/hosts/frankfurt-linode-01.asc @@ -11,7 +11,6 @@ hga3+tljCLtA5csvdSNVeSPNlkGluIVTZ5uJHLxneoIPxKgqUnRPfLz2B5A7iPgE WbAZa9WvKao+k0Q9+Kp9JTT8WV0NPp6uMMIsw5Wbnj03RsxL5GZqbpYFh+ItCYKI UWoT8PJCG8UfPCtZ1+8hHLWJZKMjJLj4+zRv7LKLKPw5shxokk6/hLqxnEMfYfhP w6l985uj8ExoA6papLBOhix+Y8DZD35DtkBq4xwCg9iMv+RrxfRjJnkH7wARAQAB -zTZyb290IChHZW5lcmF0ZWQgMjAyNC4wNi4yMykgPHJvb3RAZnJhbmtmdXJ0LWxp -bm9kZS0wMT4= -=R+Zz ------END PGP PUBLIC KEY BLOCK----- \ No newline at end of file +zSlyb290IChJbXBvcnRlZCBmcm9tIFNTSCkgPHJvb3RAbG9jYWxob3N0Pg== +=PWCk +-----END PGP PUBLIC KEY BLOCK-----