shelf_secure_cookie 1.1.0 copy "shelf_secure_cookie: ^1.1.0" to clipboard
shelf_secure_cookie: ^1.1.0 copied to clipboard

outdated

Cookie parser middleware for the Shelf ecosystem. Reads cookies in request, sets cookies in response. Supports AES-GCM for encryption if needed.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[1.1.0] - 2021-04-27 #

Fixed #

  • Changed original middleware, now you have to set response headers explicitly, see example. But I will rearrange this later.
  • Now encrypted cookies use base64Url encoding instead of base64.

[1.0.6] - 2021-04-27 #

Fixed #

  • Fixed CHANGELOG

[1.0.5] - 2021-04-27 #

Fixed #

  • Fixed middleware to accept secureKey
  • Updated example and readme

[1.0.2] - 2021-04-27 #

Fixed #

  • Changed API, now secureKey is set at construction, get/setEncrypted methods use the same signature as get/set

[1.0.1] - 2021-04-27 #

Fixed #

  • Fixed security issue

[1.0.0] - 2021-04-10 #

Added #

  • Cookie parser with setEncrypted & getEncrypted methods
  • All original code copied from null-safe branch of shelf_cookie
8
likes
0
pub points
71%
popularity

Publisher

unverified uploader

Cookie parser middleware for the Shelf ecosystem. Reads cookies in request, sets cookies in response. Supports AES-GCM for encryption if needed.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

collection, cryptography, shelf

More

Packages that depend on shelf_secure_cookie