Update frankfurt key

This commit is contained in:
albert 2024-06-23 20:22:52 +09:00
parent 0b4094b44d
commit 7eb6b0f08d
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 3 additions and 23 deletions

View file

@ -10,19 +10,6 @@ sudo mkdir /home/albert/.config
sudo chown albert:albert /home/albert/.config sudo chown albert:albert /home/albert/.config
sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert
home-manager switch -b backup --flake /etc/nixos/git 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 # Setup SOPS
echo "Setting up SOPS keys..... " echo "Setting up SOPS keys..... "
@ -49,12 +36,6 @@ echo "" >> ./keys/ssh/keys.txt
echo "# (`date`) `whoami`@`hostname`" >> ./keys/ssh/keys.txt echo "# (`date`) `whoami`@`hostname`" >> ./keys/ssh/keys.txt
cat /home/albert/.ssh/id_ed25519.pub >> ./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 # Add all changes to git and and push
echo ">>> Pushing to git..... " echo ">>> Pushing to git..... "
git add keys/hosts/`hostname`.asc git add keys/hosts/`hostname`.asc

View file

@ -11,7 +11,6 @@ hga3+tljCLtA5csvdSNVeSPNlkGluIVTZ5uJHLxneoIPxKgqUnRPfLz2B5A7iPgE
WbAZa9WvKao+k0Q9+Kp9JTT8WV0NPp6uMMIsw5Wbnj03RsxL5GZqbpYFh+ItCYKI WbAZa9WvKao+k0Q9+Kp9JTT8WV0NPp6uMMIsw5Wbnj03RsxL5GZqbpYFh+ItCYKI
UWoT8PJCG8UfPCtZ1+8hHLWJZKMjJLj4+zRv7LKLKPw5shxokk6/hLqxnEMfYfhP UWoT8PJCG8UfPCtZ1+8hHLWJZKMjJLj4+zRv7LKLKPw5shxokk6/hLqxnEMfYfhP
w6l985uj8ExoA6papLBOhix+Y8DZD35DtkBq4xwCg9iMv+RrxfRjJnkH7wARAQAB w6l985uj8ExoA6papLBOhix+Y8DZD35DtkBq4xwCg9iMv+RrxfRjJnkH7wARAQAB
zTZyb290IChHZW5lcmF0ZWQgMjAyNC4wNi4yMykgPHJvb3RAZnJhbmtmdXJ0LWxp zSlyb290IChJbXBvcnRlZCBmcm9tIFNTSCkgPHJvb3RAbG9jYWxob3N0Pg==
bm9kZS0wMT4= =PWCk
=R+Zz -----END PGP PUBLIC KEY BLOCK-----
-----END PGP PUBLIC KEY BLOCK-----