1
0
Fork 0

feat: add ssh allowed_signers

This commit is contained in:
cătălin 2024-02-20 13:25:20 +01:00
commit cd0a564d9a
No known key found for this signature in database
6 changed files with 17 additions and 2 deletions

View file

@ -9,6 +9,7 @@ halig = "~/.config/halig"
k9smocha = "~/.config/k9s/skins/mocha.yaml" k9smocha = "~/.config/k9s/skins/mocha.yaml"
sshconfig = "~/.ssh/config" sshconfig = "~/.ssh/config"
gitconfig = "~/.gitconfig" gitconfig = "~/.gitconfig"
allowed_signers = "~/.ssh/allowed_signers"
rofi = "~/.config/rofi" rofi = "~/.config/rofi"
topgrade = "~/.config/topgrade.toml" topgrade = "~/.config/topgrade.toml"
garden = "~/.config/garden/garden.yaml" garden = "~/.config/garden/garden.yaml"

1
allowed_signers Normal file
View file

@ -0,0 +1 @@
catalin@roboces.dev namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL++DKyzE0+zM6A4lpjWTNvntQnmEdA6FoOh6jIdsHMT catalin@roboces.dev

View file

@ -32,4 +32,6 @@
- snapd - snapd
- kubectl - kubectl
- glow - glow
- postgresql-client-common
- postgresql-client-15
state: present state: present

View file

@ -12,3 +12,4 @@
- ruff - ruff
- thefuck - thefuck
- streamlink - streamlink
- tldr

View file

@ -39,3 +39,11 @@ function ffmerge
ffmpeg $input_videos -filter_complex (printf "[%s] " $input_videos | sed 's/ -i / concat=n=%d:v=1:a=1 [v] [a]/') -map "[v]" -map "[a]" $output ffmpeg $input_videos -filter_complex (printf "[%s] " $input_videos | sed 's/ -i / concat=n=%d:v=1:a=1 [v] [a]/') -map "[v]" -map "[a]" $output
end end
function fish_right_prompt
set -l k8s_color (set_color blue)
set -l k8s_context (kubectl config current-context)
echo -e -n -s $k8s_color "($k8s_context)"
end

View file

@ -1,7 +1,7 @@
[user] [user]
name = cătălin name = cătălin
email = catalin@roboces.dev email = catalin@roboces.dev
signingKey = ~/.ssh/id_ed25519.pub signingkey = ~/.ssh/id_ed25519.pub
[interactive] [interactive]
diffFilter = delta --color-only diffFilter = delta --color-only
@ -27,4 +27,6 @@
defaultBranch = main defaultBranch = main
[gpg] [gpg]
format = ssh format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers