Skip to content

Add documentation for V4 Signature Post Policy#40

Merged
gcf-merge-on-green[bot] merged 5 commits intomasterfrom
add-documentation
Sep 17, 2020
Merged

Add documentation for V4 Signature Post Policy#40
gcf-merge-on-green[bot] merged 5 commits intomasterfrom
add-documentation

Conversation

@frankyn
Copy link
Copy Markdown
Contributor

@frankyn frankyn commented Sep 17, 2020

No description provided.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 17, 2020
@frankyn frankyn changed the title Add documentation Add documentation for V4 Signature Post Policy Sep 17, 2020
@frankyn frankyn marked this pull request as ready for review September 17, 2020 15:32
@frankyn frankyn requested a review from tritone September 17, 2020 15:32
/*
Expectations

E.1: PolicyInput.fields must be preppended to form expectedDecodedPolicy
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sp: prepended

Also, prepended to what? From the example it looks like you're saying that these should come before the other conditions in the policy but it's not 100% clear.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's correct. I'll update the wording.

Example:
PolicyInput.fields has:
{
"content-disposition":"attachment; filename=\"~._-%=/é0Aa\"",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this required to be sorted alphabetically by key? If so can that be stated explicitly?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the ordering just needs to match the conformance test input.

"success_action_redirect":"http://www.google.com/"
}

Then expectedDecodedPolicy should preppends PolicyInput.fields in
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sp: prepend

Copy link
Copy Markdown
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this Frank!

@frankyn frankyn added the automerge Merge the pull request once unit tests and other checks pass. label Sep 17, 2020
@gcf-merge-on-green gcf-merge-on-green bot merged commit d505e92 into master Sep 17, 2020
gcf-merge-on-green bot pushed a commit to googleapis/java-conformance-tests that referenced this pull request Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants