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

Fix hexadecimal conversion of e.g. passwords #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gmta
Copy link

@gmta gmta commented Jul 16, 2018

The od / sed / sed pipeline caused longer passwords to be wrapped causing the
mount tools to trip over password entry, resulting in authentication failures.
This much simpler approach using hexdump correctly converts all input bytes
into the format expect expects when entering the password.

@gmta gmta changed the title Fix hexadecimal conversion of i.e. passwords Fix hexadecimal conversion of e.g. passwords Jul 16, 2018
@gmta gmta force-pushed the fix-hex-conversion branch from 319297a to a834cf7 Compare July 16, 2018 10:36
@gmta gmta force-pushed the fix-hex-conversion branch from a834cf7 to f8074f1 Compare July 2, 2020 11:24
The od / sed / sed pipeline caused longer passwords to be wrapped causing the
mount tools to trip over password entry, resulting in authentication failures.
This approach uses a simpler setup with `xxd` which correctly converts all
input bytes into the format `expect` requires to enter the password.
@gmta gmta force-pushed the fix-hex-conversion branch from f8074f1 to 2f5adb4 Compare July 2, 2020 14:46
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

Successfully merging this pull request may close these issues.

1 participant