Skip to content

Assert failure using RSA #3

@mangodan2003

Description

@mangodan2003

In rsa.dart line 430 (https://github.com/hoylen/ssh_key/blob/master/lib/src/keys/rsa.dart#L420) an 8 byte prefix is generated but then lower down blockOverflow is calculated and used to make the final result length a multiple of 16 without taking the prefix into account. This can result in an assertion failure as the result can be out by 8 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions