Skip to content

Limit header size in age.Decrypt? #701

@FiloSottile

Description

@FiloSottile

age.Decrypt parses headers of arbitrary size into memory, @sweis reported in #699.

Usually, I dislike baking arbitrary limits into lower levels and prefer applications applying the limits that make sense for them at the input. Among other reasons, because it's hard to find one size to fit all applications. However, here there is one thing that is opaque to applications: the header/payload separation.

Opening an issue hoping to find a nicer solution. @str4d, how does rage handle this?

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