summaryrefslogtreecommitdiff
path: root/t/t5515/refs.br-unconfig_.._.git
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <blees@dcon.de>2013-01-10 11:52:12 +0100
committerLibravatar Erik Faye-Lund <kusmabite@gmail.com>2013-02-26 17:42:46 +0100
commit8b2d219a3d6db49c8c3c0a5b620af33d6a40a974 (patch)
tree7c26d11b163f369d8afa3561007d6168889677a6 /t/t5515/refs.br-unconfig_.._.git
parentwincred: accept CRLF on stdin to simplify console usage (diff)
downloadtgif-8b2d219a3d6db49c8c3c0a5b620af33d6a40a974.tar.xz
wincred: improve compatibility with windows versions
On WinXP, the windows credential helper doesn't work at all (due to missing Cred[Un]PackAuthenticationBuffer APIs). On Win7, the credential format used by wincred is incompatible with native Windows tools (such as the control panel applet or 'cmdkey.exe /generic'). These Windows tools only set the TargetName, UserName and CredentialBlob members of the CREDENTIAL structure (where CredentialBlob is the UTF-16-encoded password). Remove the unnecessary packing / unpacking of the password, along with the related API definitions, for compatibility with Windows XP. Don't use CREDENTIAL_ATTRIBUTEs to identify credentials for compatibility with Windows credential manager tools. Parse the protocol, username, host and path fields from the credential's target name instead. Credentials created with an old wincred version will have mangled or empty passwords after this change. Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Diffstat (limited to 't/t5515/refs.br-unconfig_.._.git')
0 files changed, 0 insertions, 0 deletions