Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[Bug] Get/Put binary files #73
I'm trying to store a binary file, but I get this error when I try to put:
This works fine with a PHP port I've been working on...
So if I put with PHP and try to get with Python I get this error:
I know of at least one person who worked around this by base64-encoding binaries that he was sticking in credstash, but that sucks. We should actually fix it. We could either store another attribute that the stored value is a binary and so not to decode it as utf-8, or do something smarter about encoding.
I'm traveling at the moment, and wont have time to get on this until I get back. If anyone wants to cut a PR in the meantime, it would be super appreciated :)