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

wincred.Set() returns error on success? #99

Open
synfinatic opened this issue Dec 18, 2021 · 1 comment
Open

wincred.Set() returns error on success? #99

synfinatic opened this issue Dec 18, 2021 · 1 comment

Comments

@synfinatic
Copy link

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

@synfinatic
Copy link
Author

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?

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

No branches or pull requests

1 participant