Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

_sign_string private_key_file can now be file-like #1349

Merged
merged 1 commit into from
Jul 23, 2013

Conversation

tehsmyers
Copy link
Contributor

Distribution._sign_string is now a little bit more flexible, allowing
the private_key_file to be a file-like object (or really anything with a
.read() method).

My experiments in the world of signed cloudfront URLs were being impeded by the inability to pass file-like objects through _sign_string. This builds on the unit tests I wrote a little bit ago (#1271), and I'm pretty confident that it's backward compatible.

Test included.

Distribution._sign_string is now a little bit more flexible, allowing
the private_key_file to be a file-like object (or really anything with a
.read() method).
@ghost ghost assigned toastdriven Jul 16, 2013
@toastdriven toastdriven merged commit ba8417f into boto:develop Jul 23, 2013
@toastdriven
Copy link
Contributor

Thanks! Merged.

@toastdriven toastdriven removed their assignment Mar 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants