99designs/keyring

wincred.Set() returns error on success?

synfinatic opened this issue · 1 comments

Calling keyring.Set() using the wincred backend on Windows10 and it constantly is returning error="The stub received bad data. but subsequent Get() calls returns the saved data. Hence it seems that I should be ignoring this error? Not getting any errors with the file or macOS keychain backends.

Using keyring v1.1.6

So this actually appears to be more serious than a fake error- the data is actually getting truncated to ~2500 bytes. Curious if anyone keyring is interested in automatically sharding values or if this would be considered out of scope and users of the library should do it themselves?