Skip to content

AWSAuthV4Signer::PayloadSigningPolicy::Never not work #3297

Open
@zombee0

Description

@zombee0

Describe the bug

from the code

return signer->SignRequest(*httpRequest, signerRegionOverride, signerServiceNameOverride, true);

I see the AWSAuthV4Signer::PayloadSigningPolicy::Never won't work any more, so is this a bug? or by designed?
And even in AWSAuthV4Signer
if (request.GetRequestHash().second != nullptr && !request.GetRequestHash().first.empty() && request.GetContentBody() != nullptr) {

i see singBody has no effect
so how does AWSAuthV4Signer::PayloadSigningPolicy::Never work?

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

No signBody

Current Behavior

signBody

Reproduction Steps

Any PutObject

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

main

Compiler and Version used

gcc 11.4.0

Operating System and version

ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions