open-vault/helper
Þórhallur Sverrisson d86acfc94f Remove DEL characters from password input (#5837)
* Remove DEL characters from password input

iTerm password manager sends \x03\0x7f before sending a password
from its password manager to make sure the password is not being
echoed to the screen.  Unfortunately, vault login does not handle
the Space DEL sequence, causing the login to fail when using the
password manager.  This patch uses a simple method to delete the
sequence if present anywhere in the string, although it is strictly
only needed at the start of input.

* Simplify iTerm handling to only remove iTerm prefix

The logic now only removes the two byte prefix sent in by iTerm
instead of trying to remove all deletes in the string.

This has been tested to work with the iTerm password manager.

As a small correction, the byte sequence is \x20\x7f.  The
earlier commit message incorrectly stated it was \x03\x7f.
2018-12-12 15:06:10 -05:00
..
awsutil Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
base62 Request less random data in truncate mode (#5118) 2018-08-17 10:17:40 -07:00
builtinplugins Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
certutil undo make fmt (#5265) 2018-09-04 09:29:18 -07:00
cidrutil Restrict cert auth by CIDR (#4478) 2018-05-09 15:39:55 -07:00
compressutil Tablify compression tests (#5405) 2018-09-26 11:08:04 -07:00
consts Support registering plugin with name only (#5787) 2018-11-15 14:33:11 -08:00
dbtxn
dhutil VSI (#4985) 2018-07-24 22:02:27 -04:00
errutil
flag-kv
flag-slice
forwarding Add lz4 to compressutil (#5403) 2018-09-26 09:20:33 -05:00
gated-writer
hclutil Move checkHCLKeys into hclutil (#4749) 2018-06-12 12:38:08 -04:00
identity simplify a case of strings.Index with strings.Contains (#5698) 2018-11-05 18:40:29 -08:00
jsonutil
kdf
keysutil Transit: Key Trim (#5388) 2018-10-17 09:05:05 -07:00
kv-builder
ldaputil add a check to prevent panics (#5471) 2018-10-05 09:23:06 -07:00
license The big one (#5346) 2018-09-17 23:03:00 -04:00
locksutil
logging
mfa Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
mlock
namespace Remove namespace.TestContext and namespace.TestNamespace (#5682) 2018-11-05 11:11:32 -05:00
parseutil Add request timeouts in normal request path and to expirations (#4971) 2018-07-24 14:50:49 -07:00
password Remove DEL characters from password input (#5837) 2018-12-12 15:06:10 -05:00
pathmanager physical/cache: Add a list of prefixes to not cache (#4515) 2018-05-10 10:29:26 -07:00
pgpkeys
pluginutil Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
policies
policyutil Two small items: (#4934) 2018-07-17 01:23:26 -04:00
proxyutil Add an idle timeout for the server (#4760) 2018-06-16 18:21:33 -04:00
reload
salt
storagepacker Fix compilation/protobuf 2018-09-22 17:58:39 -04:00
strutil Add denylist check when filtering passthrough headers (#5436) 2018-10-01 12:20:31 -07:00
testhelpers Batch tokens (#755) 2018-10-15 12:56:24 -04:00
tlsutil
useragent Add plugin user-agent helper (#5039) 2018-08-06 09:02:04 -07:00
wrapping
xor