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

password entry for encrypted container fails due to race condition #26

Closed
r3cgm opened this issue Mar 30, 2014 · 0 comments
Closed

password entry for encrypted container fails due to race condition #26

r3cgm opened this issue Mar 30, 2014 · 0 comments
Labels

Comments

@r3cgm
Copy link
Owner

r3cgm commented Mar 30, 2014

By using the system 'expect' tool, there is a race condition during the mounting of the encrypted container (via 'tcplay -m') where control has not yet been passed by the child process to STDIN before the parent python process issues the password. This results in the password being displayed directly on the screen, and also prevents the backup from proceeding. This race condition has been solved by introducing a 50ms delay automatically in the Python pexpect library.

@r3cgm r3cgm added the bug label Mar 30, 2014
@r3cgm r3cgm closed this as completed in 79b4f00 Mar 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant