~rjarry/aerc-devel

echoing password to carddav v1 APPLIED

tonitch: 1
 echoing password to carddav

 1 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~rjarry/aerc-devel/patches/56139/mbox | git am -3
Learn more about email & git

[PATCH] echoing password to carddav Export this patch

This variable will be executed so it should be echoed

Also changing the name of the account to better reflect the usage of the
-s option

Signed-off-by: tonitch <tonitch@herisson.ovh>
---
 providers/gmail.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/providers/gmail.md b/providers/gmail.md
index 0a4a1cfb..b6fc309e 100644
--- a/providers/gmail.md
+++ b/providers/gmail.md
@@ -14,7 +14,7 @@ Then, follow the new account wizard and you should get something that looks
like this (replace `Gmail` with the account name of your choice):

```ini
[Gmail]
[youraccount]
from     = Your Name <youraccount@gmail.com>
source   = imaps://youraccount%40gmail.com:$APP_PASSWORD@imap.gmail.com
outgoing = smtps://youraccount%40gmail.com:$APP_PASSWORD@smtp.gmail.com
@@ -34,6 +34,6 @@ cache-headers = true

# To be able to use your google contacts. It only works for personal accounts, not enterprise.
carddav-source          = https://youraccount%40gmail.com@www.googleapis.com/carddav/v1/principals/youraccount@gmail.com/lists/default
carddav-source-cred-cmd = $APP_PASSWORD
address-book-cmd        = carddav-query -S Gmail %s
carddav-source-cred-cmd = echo $APP_PASSWORD
address-book-cmd        = carddav-query -S youraccount %s
```
-- 
2.47.0
tonitch <tonitch@herisson.ovh> wrote:
2024-11-27T16:10:18Z tonitch <tonitch@herisson.ovh>: