Update frankfurt key
This commit is contained in:
parent
0b4094b44d
commit
7eb6b0f08d
2 changed files with 3 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -11,7 +11,6 @@ hga3+tljCLtA5csvdSNVeSPNlkGluIVTZ5uJHLxneoIPxKgqUnRPfLz2B5A7iPgE
|
|||
WbAZa9WvKao+k0Q9+Kp9JTT8WV0NPp6uMMIsw5Wbnj03RsxL5GZqbpYFh+ItCYKI
|
||||
UWoT8PJCG8UfPCtZ1+8hHLWJZKMjJLj4+zRv7LKLKPw5shxokk6/hLqxnEMfYfhP
|
||||
w6l985uj8ExoA6papLBOhix+Y8DZD35DtkBq4xwCg9iMv+RrxfRjJnkH7wARAQAB
|
||||
zTZyb290IChHZW5lcmF0ZWQgMjAyNC4wNi4yMykgPHJvb3RAZnJhbmtmdXJ0LWxp
|
||||
bm9kZS0wMT4=
|
||||
=R+Zz
|
||||
zSlyb290IChJbXBvcnRlZCBmcm9tIFNTSCkgPHJvb3RAbG9jYWxob3N0Pg==
|
||||
=PWCk
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in a new issue