GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(storage): improve v4 signature query parameters encoding by IlyaFaer · Pull Request #48 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Conversation

@IlyaFaer

@IlyaFaer IlyaFaer commented Feb 7, 2020

Copy link
Copy Markdown

Closes #9

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
IlyaFaer
feat(storage): improve v4 signature query parameters encoding
7767686
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 7, 2020
IlyaFaer
add URL encoding test
8cf8de4
IlyaFaer
IlyaFaer commented Feb 10, 2020
View reviewed changes
Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/test__signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@IlyaFaer
IlyaFaer requested review from crwilcox and frankyn February 10, 2020 09:50
@IlyaFaer
IlyaFaer marked this pull request as ready for review February 10, 2020 09:50
@IlyaFaer IlyaFaer added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Feb 10, 2020
crwilcox
crwilcox approved these changes Feb 11, 2020
View reviewed changes
@frankyn

frankyn commented Feb 11, 2020

Copy link
Copy Markdown
Contributor

@IlyaFaer this LGTM, but please update relevant conformance tests before merging this code to confirm that it's working as expected.

I updated conformance tests in https://github.com/googleapis/conformance-tests/tree/master/storage/v1

If you have questions PLMK. Specifically for this change you should rely on the following two conformance tests:

  • Query Parameter Encoding
  • Query Parameter Ordering
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

IlyaFaer pushed a commit to MaxxleLLC/conformance-tests that referenced this pull request Feb 12, 2020
IlyaFaer
change expected result for V4 Signed URL to follow changes made in go…
9545865
…ogleapis/python-storage#48
@IlyaFaer IlyaFaer mentioned this pull request Feb 12, 2020
update expected result for V4 Signed URL to follow changes made in ht… googleapis/conformance-tests#20
Closed
IlyaFaer and others added 2 commits February 12, 2020 17:25
IlyaFaer
add query_parameters arg into conformance tests
cbd0412
@frankyn
Merge branch 'master' into v4_sign_query_params
691deaa
tseaver
tseaver previously requested changes Feb 12, 2020
View reviewed changes
Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/test__signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Feb 12, 2020

Copy link
Copy Markdown
Contributor

This PR also addresses part of the change for #12.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Feb 12, 2020
[Storage] V4 Signature: Formatting Inconsistencies #12
Closed
fix: make v4 signing formatting consistent w/ spec #56
Merged
@tseaver

tseaver commented Feb 12, 2020

Copy link
Copy Markdown
Contributor

@frankyn We don't currently do any of the cross-language conformance tests inside python-storage. I just made #57 to track that.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 12, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 12, 2020
@tseaver tseaver mentioned this pull request Feb 12, 2020
Update shared conformance tests #57
Closed
@frankyn
Merge branch 'master' into v4_sign_query_params
aab5824
frankyn
frankyn approved these changes Feb 13, 2020
View reviewed changes
@frankyn

frankyn commented Feb 13, 2020

Copy link
Copy Markdown
Contributor

@IlyaFaer please respond to @tseaver's comments before merging

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

IlyaFaer added 2 commits February 13, 2020 15:08
IlyaFaer
add tests for _quote_param() function
9cca610
IlyaFaer
declare test file encoding
ae8ba7b
tseaver
tseaver reviewed Feb 13, 2020
View reviewed changes
Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/_signing.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

frankyn added 2 commits February 13, 2020 10:56
@frankyn
Merge branch 'master' into v4_sign_query_params
76f2377
@frankyn
Merge branch 'master' into v4_sign_query_params
2b6ed38
IlyaFaer and others added 3 commits February 14, 2020 11:58
IlyaFaer
fix the param type
bfeb050
IlyaFaer
add test with bytes
9fcf70f
@frankyn
Merge branch 'master' into v4_sign_query_params
d956a0f
@frankyn

frankyn commented Feb 20, 2020

Copy link
Copy Markdown
Contributor

Friendly ping and pending Kokoro passing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn
frankyn requested a review from tseaver February 26, 2020 15:23
@frankyn
Merge branch 'master' into v4_sign_query_params
1d7a257
@frankyn

frankyn commented Feb 26, 2020

Copy link
Copy Markdown
Contributor

Merging when green.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

frankyn and others added 2 commits February 26, 2020 09:08
@frankyn
Merge branch 'master' into v4_sign_query_params
fd6c8bb
Gurov Ilya
Update _signing.py
8e94d8f
@frankyn

frankyn commented Feb 26, 2020

Copy link
Copy Markdown
Contributor

Pending approval from @tseaver as there is on-going discussion.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn
Merge branch 'master' into v4_sign_query_params
ab01f06
@frankyn

frankyn commented Mar 6, 2020

Copy link
Copy Markdown
Contributor

@tseaver friendly ping

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

frankyn and others added 2 commits March 5, 2020 20:04
@frankyn
Merge branch 'master' into v4_sign_query_params
4ee97ff
@crwilcox
Merge branch 'master' into v4_sign_query_params
ad07cef
crwilcox
crwilcox approved these changes Mar 6, 2020
View reviewed changes
@crwilcox
crwilcox dismissed tseaver’s stale review March 6, 2020 23:35

Reviewed, attempted to remove coercion, but due to truthiness of bytes and strs in python 2 I am going to approve this.

@crwilcox crwilcox added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 6, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 6, 2020
@crwilcox crwilcox added the automerge Merge the pull request once unit tests and other checks pass. label Mar 6, 2020
@crwilcox
crwilcox removed the request for review from tseaver March 7, 2020 00:21
@crwilcox crwilcox mentioned this pull request Mar 7, 2020
Merge on Green: Handle PRs with dismissed reviews googleapis/repo-automation-bots#378
Closed
@crwilcox
crwilcox merged commit 8df0b55 into googleapis:master Mar 7, 2020
@IlyaFaer
IlyaFaer deleted the v4_sign_query_params branch April 1, 2020 20:02
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Gurov Ilya @frankyn
@crwilcox @cojenco
feat(storage): improve v4 signature query parameters encoding (google…
5f04e38
…apis#48)

* feat(storage): improve v4 signature query parameters encoding

* add URL encoding test

* add query_parameters arg into conformance tests

* add tests for _quote_param() function

* declare test file encoding

* fix the param type

* add test with bytes

* Update _signing.py

Co-authored-by: Frank Natividad <[email protected]>
Co-authored-by: Christopher Wilcox <[email protected]>
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Gurov Ilya @frankyn
@crwilcox @cojenco
feat(storage): improve v4 signature query parameters encoding (google…
0f4adf3
…apis#48)

* feat(storage): improve v4 signature query parameters encoding

* add URL encoding test

* add query_parameters arg into conformance tests

* add tests for _quote_param() function

* declare test file encoding

* fix the param type

* add test with bytes

* Update _signing.py

Co-authored-by: Frank Natividad <[email protected]>
Co-authored-by: Christopher Wilcox <[email protected]>
@release-please release-please Bot mentioned this pull request Jan 12, 2022
chore(main): release 3.0.0 #688
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

3 more reviewers
@tseaver tseaver tseaver left review comments
@frankyn frankyn frankyn approved these changes
@crwilcox crwilcox crwilcox approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Storage] V4 Signature Supplying Additional Query Parameters With GCS Signed URLs

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@IlyaFaer @frankyn @tseaver @crwilcox @googlebot @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.