moby/vendor/github.com/fernet/fernet-go
Sebastiaan van Stijn e37ac41afb
vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee
Fixes a potential panic.

full diff: 9eac43b88a...9f70042a33

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 1e48b64538)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-24 11:00:12 +01:00
..
fernet.go vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 2022-11-24 11:00:12 +01:00
generate.json vendor: regenerate 2022-01-18 15:46:04 +01:00
invalid.json vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 2022-11-24 11:00:12 +01:00
key.go Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 2018-04-02 15:17:38 -07:00
License Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 2018-04-02 15:17:38 -07:00
Readme Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 2018-04-02 15:17:38 -07:00
verify.json vendor: regenerate 2022-01-18 15:46:04 +01:00

Fernet takes a user-provided *message* (an arbitrary sequence of
bytes), a *key* (256 bits), and the current time, and produces a
*token*, which contains the message in a form that can't be read
or altered without the key.

This package is compatible with the other implementations at
https://github.com/fernet. They can exchange tokens freely among
each other.

Documentation: http://godoc.org/github.com/fernet/fernet-go


INSTALL

	$ go get github.com/fernet/fernet-go


For more information and background, see the Fernet spec at
https://github.com/fernet/spec.

Fernet is distributed under the terms of the MIT license.
See the License file for details.