Skip to content

Commit

Permalink
vdircsyncer: embed the password in the conf file as rbw is better be …
Browse files Browse the repository at this point in the history
…replaced by secret-tool for this call
  • Loading branch information
gwarf committed Nov 12, 2024
1 parent 9864979 commit 756b962
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ fileext = ".vcf"
type = "carddav"
url = "https://cloud.bapt.name/remote.php/carddav"
username = "{{ (rbw "/cloud.bapt.name/baptiste/vdirsyncer").data.username }}"
password.fetch = ["command", "rbw", "get", "/cloud.bapt.name/baptiste/vdirsyncer"]
password = "{{ (rbw "/cloud.bapt.name/baptiste/vdirsyncer").data.password }}"
# password.fetch = ["command", "rbw", "get", "/cloud.bapt.name/baptiste/vdirsyncer"]

[storage mailcow_contacts]
type = "carddav"
url = "https://mail.bapt.name/SOGo/dav/[email protected]/Contacts/personal/"
username = "[email protected]"
password.fetch = ["command", "rbw", "get", "/mail/[email protected]/vdirsyncer"]
# password.fetch = ["command", "rbw", "get", "/mail/[email protected]/vdirsyncer"]
password = "{{ (rbw "/mail/[email protected]/vdirsyncer").data.password }}"

# FIXME: disabled until auth is correctly configured
# [storage google_contacts]
Expand Down

0 comments on commit 756b962

Please sign in to comment.