From c3f37a1518390b0fe0ae5cca7d62a666bd125e6f Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 6 Jun 2023 19:07:02 -0400 Subject: [PATCH] set up age encryption --- home/.chezmoi.toml.tmpl | 4 ++++ home/private_dot_ssh/config.tmpl | 3 +++ .../encrypted_id_ecdsa.pub.age | 12 ++++++++++ .../encrypted_private_id_ecdsa.age | 22 +++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 home/.chezmoi.toml.tmpl create mode 100644 home/private_dot_ssh/config.tmpl create mode 100644 home/private_dot_ssh/encrypted_id_ecdsa.pub.age create mode 100644 home/private_dot_ssh/encrypted_private_id_ecdsa.age diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl new file mode 100644 index 0000000..8623f33 --- /dev/null +++ b/home/.chezmoi.toml.tmpl @@ -0,0 +1,4 @@ +encryption = "age" +[age] + identity = "~/.key.txt" + recipient = "age1yd87u4ae86erpem2tynyl959ppc8a3jt4ztssykytzaklut6uvus5prt2t" diff --git a/home/private_dot_ssh/config.tmpl b/home/private_dot_ssh/config.tmpl new file mode 100644 index 0000000..5929c2e --- /dev/null +++ b/home/private_dot_ssh/config.tmpl @@ -0,0 +1,3 @@ +{{ if eq .chezmoi.os "darwin" -}} +Include /Users/matthew/.colima/ssh_config +{{ end }} \ No newline at end of file diff --git a/home/private_dot_ssh/encrypted_id_ecdsa.pub.age b/home/private_dot_ssh/encrypted_id_ecdsa.pub.age new file mode 100644 index 0000000..18f5b1c --- /dev/null +++ b/home/private_dot_ssh/encrypted_id_ecdsa.pub.age @@ -0,0 +1,12 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA1Y1Z4ZEpoK2RidUgrZFFV +VElqZDlNdXZ3czRwSVZiSWx3WnZGUFIrbkZzCnhTMG1MUWMraFVwSjFNQUFvMjhU +RUFHZE1nTDBwRGt4MXNHTUxVZFhUTUEKLS0tIDNsSjlsMWlSbnlRbTM5TmFVVmQy +am9LSzI0SjBBZ3pXSVhxQnlzTWR5ZFEKrx4z3Usu6NUqMyuM0UJeGa3X7SJed50o +lNYgdEatTd52LmkBDBeId4uilJU4Hw7g+NK80uxLgsXyjjfI+FznigNl8Ofd6n57 +uPMuLj2shrslWRYoLq3Dtw03X/q/2eUuJPG9T7H98RQvsEl/N7zekymgoXUFT44v +eRZBr5mg5i57sX539Z1jZmmaWEcPyR9OYFSRCrtRATOEF520hU2LTxIRSxF194/e +NzGh6lrvK/m8VGClGHk/UqdItH5S6+dAg+P4v2FSFQwls/uzq9j0n/bK0A06F6Vs +lL+mSumS9d+zvXzsu0iHLSoECP31kAfNuWPj9j0WCekISdwJmoXR+gp3iCf6IUOh +w0vP1Vsz4cIWUC6SgoK2rrWqmfSkD2TFPom3MzFhr3yw+60LwtYZQ3LzIJQQ +-----END AGE ENCRYPTED FILE----- diff --git a/home/private_dot_ssh/encrypted_private_id_ecdsa.age b/home/private_dot_ssh/encrypted_private_id_ecdsa.age new file mode 100644 index 0000000..f2104bf --- /dev/null +++ b/home/private_dot_ssh/encrypted_private_id_ecdsa.age @@ -0,0 +1,22 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB2SEFzdmNyTWdiSXpIZGhs +T2kxOXpXczc4VE9nWkNFbi9yelJvdmtVOEhVClVaWlZ0dUJLaXhMRCs1dW9MY1Nl +NUpNcGR3WW5vcG1tTCtTOXcwZEt0M1UKLS0tIHhvWDJDTFkzcWd2bjRoRDdzS2hs +RzBLdFZvWlc2VW1OczZOak9YMzlzZmcKARnp+EZvwPa2LvmGeI1EDaaVtroC6SKe +qEhhN3Oq8zX9jEIYJxGU49HHr+V9qS2e3v992alPdstejkuJA1sMBoEzI5UuJFDI +zZ4YUj6tJjzNQiW2L018jYfvywZRbCv55M3y63LTzHMsVIvWRcJYwf5KBDvJXK6g +Bivbxobm41KL6ftMqsP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