aboutsummaryrefslogtreecommitdiff
path: root/lib/paseto/message_test.go
AgeCommit message (Collapse)Author
14 dayspaseto/v4: allow empty Footer and empty data in PayloadShulhan
If the footer is empty then the message will be unpacked with its own public key, instead of sender public key.
2026-03-31lib/paseto: move [Message.Unpack] to [v4.UnpackPublicToken]Shulhan
Unpacking v4 public protocol on parent package seems wrong. Only v4 package should know how to unpack it regarding the available fields in the Message.
2026-03-30lib/paseto: add unit tests for Payload and Message typesShulhan