pcolby / aws-sdk-qt

AWS SDK for Qt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apply the official AWS Signature Version 4 test suite

pcolby opened this issue · comments

Data is already in the unit test's directory, just need to code it up.

Have begun implementing the V4 test suite... see the v4-test-suite branch.

FYI - V4 signature clarification (forums.aws.amazon.com)

All done except for:

  • get-header-key-duplicate
  • get-header-value-order
  • post-vanilla-query-nonunreserved

The first two are easy to "fix", but I'm waiting on the results of this thread (forums.aws.amazon.com) to know which is the right solution.

The last one is bit of a bigger / wilder mystery atm... Amazon's example makes no sense to me, but it'll probably come clear when I look at it again fresh :)

Turns out the test suite is wrong... or at least that's my conclusion:

See https://forums.aws.amazon.com/thread.jspa?threadID=136223 for details.

I'll update the test code accordingly in the next day or two.

My conclusion (that the tests are wrong) has been confirmed. I'll exclude the broken tests for now.