-
Notifications
You must be signed in to change notification settings - Fork 374
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
Move the Base64 encode/decode functions from g/c/storage/internal -> g/c/internal #2796
Comments
|
Fwiw, the Base64 functions are all I need at this point. |
FYI I started a PR but ran into issues. |
Ack. That makes sense. I renamed this issue to make it clear that we only need the base64 functions. The other SSL utilities are not needed (at least, not yet). Note that while we currently use an SSL library to implement the base64 encoding, we don't need to. See https://github.com/abseil/abseil-cpp/blob/master/absl/strings/escaping.cc#L453 for example. So one solution might be to implement these functions w/o using SSL. ... Not that we actually want to do this. I'm not actually arguing for this, just that it would be one way to break a dep on SSL. |
Indeed, my CMake-fu is currently lacking. @coryan I am stumped. Do you have any ideas? |
If this is not urgent (and I think it is not) I would like to wait for #2802. Implementing our own Base64 encoding/decoding is also a good option. |
I filed googleapis/google-cloud-cpp-spanner#123 to clarify the need/urgency for this.TL;DR: We need base64 encode/decode functions to suport Spanner |
FTR: googleapis/google-cloud-cpp-spanner#123 added standalone base64 encode/decode functions to the spanner repo. |
This issue was closed in @devbww 's last comment. |
We need to use the
Base64Encode()
andBase64Decode()
functions in google-cloud-cpp-spanner. It would be best to use these from google/cloud/common/ rather than reaching into google/cloud/storage/.The text was updated successfully, but these errors were encountered: