Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Spread large sessions over multiple cookies #147

Description

@daniel-ac-martin

It would be nice if slightly larger sessions were supported. (I'm only just bumping against the limit.)

The limit of course being the size of a single cookie. (https://tools.ietf.org/html/rfc6265#section-6.1)

It occurs to me that larger sessions could be supported by inspecting the size of the encrypted payload and spreading it over as many cookies as are required.

There would still need to be limits of course but checking this would also allow for helpful error messages. (At the moment the browser will. typically. just silently ignore the cookie.)

It might also be nice to compress the data prior to encrypting.

Also, is this library still maintained? Are PRs welcome? Would they be welcome for the sorts of features I've described above?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions