Skip to content

Fix hexadecimal conversion of e.g. passwords#13

Open
gmta wants to merge 1 commit intogniemetz:masterfrom
gmta:fix-hex-conversion
Open

Fix hexadecimal conversion of e.g. passwords#13
gmta wants to merge 1 commit intogniemetz:masterfrom
gmta:fix-hex-conversion

Conversation

@gmta
Copy link
Copy Markdown

@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