Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show the password plainly in addrb -h #4

Open
doronbehar opened this issue Nov 20, 2022 · 1 comment
Open

Don't show the password plainly in addrb -h #4

doronbehar opened this issue Nov 20, 2022 · 1 comment

Comments

@doronbehar
Copy link

Although you require this information as an environment variable, it's not considered good practice to print it like that.

addrb/addrb.go

Line 47 in 785d726

os.Getenv("CARDDAV_PASSWORD"),

@mrusme
Copy link
Owner

mrusme commented Nov 20, 2022

What's the different between:

export CARDDAV_PASSWORD='abc123'
addrb -h

and

export CARDDAV_PASSWORD='abc123'
echo $CARDDAV_PASSWORD

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants