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

provide a mechanism to store credentials "safely" #45

Open
ThomasWaldmann opened this issue Dec 21, 2014 · 3 comments
Open

provide a mechanism to store credentials "safely" #45

ThomasWaldmann opened this issue Dec 21, 2014 · 3 comments

Comments

@ThomasWaldmann
Copy link
Contributor

For example using https://pypi.python.org/pypi/keyring. This should be optional (from an API point of view), and it should be easy to setup during a first run (interactive use).

@ThomasWaldmann
Copy link
Contributor Author

while I agree that plaintext passwords in configs aren't very safe(*), I don't see how a keyring is helpful for a service that is usually started automatically at boot time (e.g. by a init script) and runs unattended in the background, even if no user is logged in.

is there some other way to use a keyring that doesn't require the user interactively opening the keyring?

(*) if the dyndnsc service is started as root or as a special service user, file owner/group/mode can help protect the passwords.

@infothrill
Copy link
Owner

The use case I had in mind is for interactive desktop users who have a login session of sorts and want their desktop machine to be put in DNS. But I fully agree, this is probably something we should leave for "later".

@Technikte
Copy link

I think there me and some other which would use it a bit different. I like to use your tool 24/7 to update my home wan ipv4/ipv6 in my domain since my fritzbox can't update it to the right ipv6 adress. (in my ipv6 every host got an public adress..so my fritzbox has an different than my server host)
So in this use case I would hardcode my login data plain in the config file.
++

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

No branches or pull requests

3 participants