SSH: Removed secret management

This commit is contained in:
2026-02-12 20:59:36 +01:00
parent 39df21f056
commit 47f846cc9a
8 changed files with 16 additions and 26 deletions

2
.gitignore vendored
View File

@@ -18,8 +18,6 @@ Thumbs.db
*.sublime-* *.sublime-*
*.log *.log
.zsh/lib/30-extra.zsh .zsh/lib/30-extra.zsh
.gitsecret/keys/random_seed
!*.secret
.config/espanso/user/email.yml .config/espanso/user/email.yml
.config/espanso/user/misc.yml .config/espanso/user/misc.yml
.config/espanso/user/people.yml .config/espanso/user/people.yml

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +0,0 @@
.config/espanso/user/email.yml:ac89cab929dc42d24287c7ee1e88c6d10a1ef2df37ad3158c17c7db2538b857c
.config/espanso/user/misc.yml:88886c9af9155c2394592367f219dd9720e773be8f0f6bf1ec3f7e59fcaed662
.config/espanso/user/people.yml:f4dd3b40a0c53978bd96f66c79d9fbc1668ec57c4e46d6fce0e7b30d8d8358c2
.config/espanso/user/personal.yml:5852be346f3f23f067e1c5e2e44a3632d4a7ca36ffe425c20bc8753793bd8df6
.config/zsh/lib/30-extras.zsh:7e5f2d74e2477cb8cb1035a88e9e1ede0f3657a94ac5b957db5acf3e6142d388
.ssh/conf.d/hosts.conf:763ca28ef20475b3954c2371cc253147b5019763225e42366255e2f15b4669e7

Binary file not shown.

View File

@@ -12,7 +12,7 @@ HOMEDIR = ${HOME}
help: ## This help help: ## This help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[1;1;36m%-30s\033[1;0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[1;1;36m%-30s\033[1;0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
all: git-fetch git-secrets-reveal deploy-macos ## Update repo, decrypt secrets and run deploy-macos all: git-fetch deploy-macos ## Update repo and run deploy-macos
install: git-fetch deploy-base ## Update repor and run deploy-base install: git-fetch deploy-base ## Update repor and run deploy-base
@@ -26,18 +26,6 @@ gen-vscodium-plugin-list: ## Update the list of VSCodium plugins
@echo "\033[1;32m>>>\033[1;0m Updating the list of VSCodium plugins at .config/VSCodium/UserUser/extensions.list" @echo "\033[1;32m>>>\033[1;0m Updating the list of VSCodium plugins at .config/VSCodium/UserUser/extensions.list"
@code --list-extensions > .config/VSCodium/UserUser/extensions.list @code --list-extensions > .config/VSCodium/UserUser/extensions.list
git-secrets-hide: ## Hide secrets with git-secret
@echo "\033[1;32m>>>\033[1;0m Encrypting secrets."
@git secret hide
@echo "\033[1;32m>>>\033[1;0m Creating commit."
@git add -A && git commit -m "Updated secrets."
git-secrets-reveal: ## Reveal secrets with git-secret
@echo "\033[1;32m>>>\033[1;0m Decrypting secrets."
@git secret reveal
@echo "\033[1;32m>>>\033[1;0m Remove encrypted files."
@git secret clean
git-fetch: ## Fetch changes from origin git-fetch: ## Fetch changes from origin
@echo "\033[1;32m>>>\033[1;0m Fetching changes from origin." @echo "\033[1;32m>>>\033[1;0m Fetching changes from origin."
@git fetch origin main @git fetch origin main

View File

@@ -19,14 +19,12 @@ The repo ships with a Makefile that you can use to deploy and update the dotfile
```shell ```shell
# make help # make help
help This help help This help
all Update repo, decrypt secrets and run deploy-macos all Update repo and run deploy-macos
install Update repor and run deploy-base install Update repor and run deploy-base
deploy-base Only deploy basic conf files for shell usage deploy-base Only deploy basic conf files for shell usage
deploy-workstation Deploy workstation specific config files (inherits deploy-shell) deploy-workstation Deploy workstation specific config files (inherits deploy-shell)
deploy-macos Deploy macOS specific config files (inherits deploy-workstation) deploy-macos Deploy macOS specific config files (inherits deploy-workstation)
gen-vscodium-plugin-list Update the list of VSCodium plugins gen-vscodium-plugin-list Update the list of VSCodium plugins
git-secrets-hide Hide secrets with git-secret
git-secrets-reveal Reveal secrets with git-secret
git-fetch Fetch changes from origin git-fetch Fetch changes from origin
git-push Push changes to origin git-push Push changes to origin
git-update-submodules Update all submodules git-update-submodules Update all submodules
@@ -47,8 +45,6 @@ deploy-hushlogin Deploy .hushlogin
The dotfiles will be copied to your **~**. The dotfiles will be copied to your **~**.
The repo is initialized for beeing used with git-secret. My own personal secrets are pushed to the repo as well and can be decrypted with my GPG key.
## ZSH with bells and whistles ## ZSH with bells and whistles
The ZSH config doesnt use any frameworks and is tuned for speed. The ZSH config doesnt use any frameworks and is tuned for speed.
@@ -69,6 +65,16 @@ It also supports nested sessions with a modified color scheme. Thats nice whe
![Alacritty window using the dotfiles by chrisb86 in a tmix session](https://raw.githubusercontent.com/chrisb86/dotfiles/main/screenshot-tmix.png) ![Alacritty window using the dotfiles by chrisb86 in a tmix session](https://raw.githubusercontent.com/chrisb86/dotfiles/main/screenshot-tmix.png)
## Karabiner Elements
- Map Capslock to CTRl+OPT+CMD
- Map Capslock+Shift to CTRl+OPT+CMD+Shift
- Display start of Music on Play/Pause button and toggle playpause only in Spotify when it's running
# Aerospace
Shortcuts
## Installation ## Installation
## ### Getting the dotfiles. ## ### Getting the dotfiles.
@@ -80,15 +86,19 @@ git clone https://github.com/chrisb86/dotfiles.git
### Deploying the dotfiles ### Deploying the dotfiles
For installing the base set for shell usage run For installing the base set for shell usage run
```shell ```shell
make install make install
``` ```
For the fullfl edged setup with decrypting of the secrets use For the fullfl edged setup with decrypting of the secrets use
```shell ```shell
make install make install
``` ```
To list all avaliable commands run: To list all avaliable commands run:
```shell ```shell
make help make help
``` ```