Skip to content

Binary Attributes Double-base64 Encoded #127

Open
@ewalker11

Description

@ewalker11

The botocore client, called via _convert_to_request_dict, is performing another round of base64 encoding on binary fields. This is on top of the existing round of encoding done by the BinaryAttribute's serialize() method.

This is resulting in double base64 encoded values stored in Dynamo, which is why we have to undo one of the decodes via _convert_binary.

IOW, all binary data that has ever been persisted using the BinaryAttribute in any version of Pynamo is sitting double-base64-encoded in Dynamo somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions