Skip to content

Commit 8f2b65e

Browse files
committed
SSH: Add id_ed25519 key and rename encrypted id_rsa document
Mirror the id_rsa 1Password mechanism for an id_ed25519 sibling key: - private_id_ed25519.tmpl -> ~/.ssh/id_ed25519 (0600) via onepasswordDocument "neotrantor id_ed25519 - encrypted" - id_ed25519.pub.tmpl -> ~/.ssh/id_ed25519.pub via onepasswordRead Also point private_id_rsa.tmpl at the renamed document "neotrantor id_rsa - encrypted".
1 parent fb620d0 commit 8f2b65e

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

home/dot_ssh/id_ed25519.pub.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{- onepasswordRead "op://dotfiles/neotrantor id_ed25519/public key" -}}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{{- /* {{- onepasswordRead "op://dotfiles/neotrantor id_ed25519/private key?ssh-format=openssh" -}} */ -}}
2+
{{- onepasswordDocument "neotrantor id_ed25519 - encrypted" "dotfiles" -}}

home/dot_ssh/private_id_rsa.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
{{- /* {{- onepasswordRead "op://dotfiles/neotrantor id_rsa/private key?ssh-format=openssh" -}} */ -}}
2-
{{- onepasswordDocument "neotrantor encrypted ssh key" "dotfiles" -}}
2+
{{- onepasswordDocument "neotrantor id_rsa - encrypted" "dotfiles" -}}

0 commit comments

Comments
 (0)