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

Add support for cloud storage signed URLs #21

Open
mwilliammyers opened this issue Nov 5, 2019 · 1 comment
Open

Add support for cloud storage signed URLs #21

mwilliammyers opened this issue Nov 5, 2019 · 1 comment

Comments

@mwilliammyers
Copy link
Member

I have some code that implements the Google Cloud Storage v4 signing algorithm. It is a pretty annoying algorithm to implement by hand—mostly because the Google docs are pretty confusing and I had to match hashing function params to what ring expects—so I thought I should make a crate out of it. It is especially annoying because all the official Google Cloud clients have a handy function for it.

It does everything locally which means it depends on ring... I think I could remove this dependency by using the signBlob function from the iamcredentials(IIRC) API instead (or really, keep both but feature-gate ring). I am not sure if I have the time to do that right now though...

Are we interested in adding it into this project somewhere? Not sure what our thoughts are about things that deviate from the published googleapis stuff...

@mwilliammyers
Copy link
Member Author

mwilliammyers commented Nov 5, 2019

I am going to clean it up a bit more before publishing it (not sure if I am sold on the function style API), but just so you get a sense of what I am talking about, here is a playground permalink.

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