From b7a156d52572a77e3c85d5d11b57eba268479d2e Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 8 Apr 2023 10:15:05 -0400 Subject: [PATCH] switch to bitw for secret service --- dot_config/vdirsyncer/config.tmpl | 8 ++++---- dot_config/zsh/private_dot_zshrc.tmpl | 8 ++++---- dot_wakatime.cfg.tmpl | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dot_config/vdirsyncer/config.tmpl b/dot_config/vdirsyncer/config.tmpl index e5aeda95f53b0d36d4033210e1ccc597702ddd35..ba617c384d18ed7048d806816795589cd87499a9 100644 --- a/dot_config/vdirsyncer/config.tmpl +++ b/dot_config/vdirsyncer/config.tmpl @@ -43,9 +43,9 @@ fileext = ".vcf" [storage contacts_remote] type = "carddav" -url = "{{- secret "lookup" "Title" "dav-url" -}}" +url = "{{- secret "lookup" "name" "dav-url" -}}" username = "amolith" -password.fetch = ["command", "secret-tool", "lookup", "Title", "vdirsyncer"] +password.fetch = ["command", "secret-tool", "lookup", "name", "vdirsyncer"] # CALDAV [pair calendar] @@ -69,6 +69,6 @@ fileext = ".ics" [storage calendar_remote] type = "caldav" -url = "{{- secret "lookup" "Title" "dav-url" -}}" +url = "{{- secret "lookup" "name" "dav-url" -}}" username = "amolith" -password.fetch = ["command", "secret-tool", "lookup", "Title", "vdirsyncer"] +password.fetch = ["command", "secret-tool", "lookup", "name", "vdirsyncer"] diff --git a/dot_config/zsh/private_dot_zshrc.tmpl b/dot_config/zsh/private_dot_zshrc.tmpl index 644a52448e8929769887688d8d65a44a38a672b0..5412998ddff69784f236fb8305d5147502f27a2e 100644 --- a/dot_config/zsh/private_dot_zshrc.tmpl +++ b/dot_config/zsh/private_dot_zshrc.tmpl @@ -141,11 +141,11 @@ CASE_SENSITIVE="false" export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring # Authenticate to Woodpecker CI -export WOODPECKER_SERVER="{{- secret "lookup" "Title" "bus-woodpecker-server" -}}" -export WOODPECKER_TOKEN="{{- secret "lookup" "Title" "bus-woodpecker-token" -}}" +export WOODPECKER_SERVER="{{- secret "lookup" "name" "bus-woodpecker-server" -}}" +export WOODPECKER_TOKEN="{{- secret "lookup" "name" "bus-woodpecker-token" -}}" # Authenticate to Bitwarden -export BW_SESSION="{{- secret "lookup" "Title" "bw-session" -}}" +export BW_SESSION="{{- secret "lookup" "name" "bw-session" -}}" #HYPHEN_INSENSITIVE="true" # Uncomment the following line if pasting URLs and other text is messed up. @@ -199,7 +199,7 @@ function gi() { curl -sLw https://www.toptal.com/developers/gitignore/api/$@ ; } function noti() { - curl 'https://notify.nixnet.services/message?token={{- secret "lookup" "Title" "gotify-token" -}}' -F "title=$1" -F "message=$2" -F "priority=4" + curl 'https://notify.nixnet.services/message?token={{- secret "lookup" "name" "gotify-token" -}}' -F "title=$1" -F "message=$2" -F "priority=4" } # Hide the terminal when these apps are opened from a terminal function zathura() { devour zathura "$1" } diff --git a/dot_wakatime.cfg.tmpl b/dot_wakatime.cfg.tmpl index c95558d3b950e1e8a0bfc9d4289784f44f8ffb31..71b077ab17fd215c426d1f5ff9dca69b809cc622 100644 --- a/dot_wakatime.cfg.tmpl +++ b/dot_wakatime.cfg.tmpl @@ -1,7 +1,7 @@ [settings] debug = false api_url = https://waka.secluded.site/api/heartbeat -api_key = {{ secret "lookup" "Title" "wakapi-token" }} +api_key = {{ secret "lookup" "name" "wakapi-token" }} hide_file_names = false hide_project_names = false hide_branch_names =