Skip to content

ably-java sometimes failing to decrypt Messages #531

@SimonWoolf

Description

@SimonWoolf

Customer reports that encrypted messages are occasionally unable to be decrypted:

2019-11-22 11:48:20.515 E/ABLY_INTERNAL: decrypt()
2019-11-22 11:48:20.515 E/ABLY_INTERNAL: error:1e00007b:Cipher functions:OPENSSL_internal:WRONG_FINAL_BLOCK_LENGTH
2019-11-22 11:48:20.515 E/ABLY_INTERNAL: Unexpected exception: error:1e00007b:Cipher functions:OPENSSL_internal:WRONG_FINAL_BLOCK_LENGTH

It appears to be specific messages only, but those messages can apparently still sometimes be successfully decrypted, but not other times.

Unclear whether the messages in question were published from ably-java or ably-cocoa, but it is one or the other. Also unclear whether the problem is limited to messages published by only one of those client libs, or both. So may be an ably-cocoa bug.

See internal channels for example of a raw message that sometimes can't be decrypted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. It's clear that this does need to be fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions