Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Jun 13, 2015

Also refactoring _get_signed_query_params and the related tests so that the signing process and service account name determination are isolated methods.

Fixes #607.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 13, 2015
@dhermes
Copy link
Contributor Author

dhermes commented Jun 13, 2015

@jgeewax I was actually reminded of this old bug when discussing some performance issues of apitools on GCE.


Is there a GCE equivalent (I assume via metadata server) of

from google.appengine.api import app_identity
_, signed_bytes = app_identity.sign_blob(string_to_sign)

Is there someone who works on GCE who might be worth asking?

@jgeewax
Copy link
Contributor

jgeewax commented Jun 16, 2015

@ludoch : Do you know if there's a GCE equivalent of GAE Python's app_identity.sign_blob() ?

@dhermes
Copy link
Contributor Author

dhermes commented Jun 16, 2015

@jgeewax I made #922 and commented on what the metadata server tells us about the service account.

@dhermes
Copy link
Contributor Author

dhermes commented Jun 24, 2015

@tseaver PTAL

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Also refactoring _get_signed_query_params and the related
tests so that the signing process and service account name
determination are isolated methods.

Fixes googleapis#607.
@dhermes
Copy link
Contributor Author

dhermes commented Jun 24, 2015

@tseaver Done (and rebased on top of HEAD).

@tseaver
Copy link
Contributor

tseaver commented Jun 24, 2015

LGTM

dhermes added a commit that referenced this pull request Jun 24, 2015
Adding ability to sign URL from GAE.
@dhermes dhermes merged commit b975d9c into googleapis:master Jun 24, 2015
@dhermes dhermes deleted the fix-607 branch June 24, 2015 21:18
@dhermes dhermes mentioned this pull request Jul 10, 2015
parthea pushed a commit that referenced this pull request Aug 21, 2025
Source-Link: googleapis/synthtool@8767740
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921c

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 16, 2025
Source-Link: googleapis/synthtool@8767740
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921c

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 22, 2025
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@bc07fd4
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:30470597773378105e239b59fce8eb27cc97375580d592699206d17d117143d0

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@dede53f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:fac304457974bb530cc5396abd4ab25d26a469cd3bc97cbfb18c8d4324c584eb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
parthea pushed a commit that referenced this pull request Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants