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

Master password #128

Open
arlukin opened this issue Dec 15, 2014 · 4 comments
Open

Master password #128

arlukin opened this issue Dec 15, 2014 · 4 comments
Assignees

Comments

@arlukin
Copy link
Member

arlukin commented Dec 15, 2014

  • Investigate ssh-pass/ssh-agent, use that password?
  • Use master password in .syco.cnf if it exist.
    /root/.syco.cnf
    master-password: xxxx
  • Move password file to it's own file.
  • Delete master password after 60 minutes with cronjob.
    Check file modify time to determine if 60 minuts has passed.
  • Switch in syco that keeps the password for another 60 minutes.
    -k --keep-password -- Do that by touching the file.
@arlukin arlukin self-assigned this Dec 15, 2014
@kribor
Copy link
Member

kribor commented Dec 16, 2014

If saving to disk I think we might as well save it to a ramdisk (tmpfs) to avoid leaving traces on disk.

@arlukin
Copy link
Member Author

arlukin commented Dec 16, 2014

I guess a tmpfs would increase the scope of the issue. And I don't think this feature should be used in a production environment. But if it's their it will probably be used in a production env. So you might be right.

I hope Nemie can find something around her idé about using ssh-pass. But after a quick google yesterday, I think it's not possible.

@kribor
Copy link
Member

kribor commented Jan 16, 2015

I guess it would increase the scope somewhat but mounting a ramdisk is just a onliner similar to:
mount -t tmpfs -o size=512m tmpfs /mnt/ramdisk

@arlukin
Copy link
Member Author

arlukin commented Jan 16, 2015

You are right. It's a pretty good idea. And if we like to, we can have a cronjob unmounting that partion istead of deleting the pasword file from /root/.syco.cnf. This is probably as easy as building the other solution.
Note to self: Remember how easy it is to mount a ramdisk.

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