Git Product home page Git Product logo

spec's Introduction

fernet acceptance tests


generate.json

	contains all parameters needed to determinstically generate
	a fernet token, as well as the token that should be generated.

	src: payload to be encrypted
	iv: 16-byte IV to use for encryption
	secret: base64-encoded 32-byte key to use for signing and encryption
	now: time to be used for the timestamp in the generated token
	token: value of the token that should be generated


verify.json

	contains a valid token and all parameters needed to determistically
	verify it.

	token: token to be verified
	ttl_sec: time-to-live in seconds
	now: current time of the verifying process
	secret: base64-encoded 32-byte key to use for signing and decryption
	src: unencrypted payload to be retrieved from the token


invalid.json

	contains parameters for verification and a token that is invalid
	under those parameters, as well as a description of why the token
	is invalid.

	desc: reason why the token is invalid
	token: invalid token
	ttl_sec: time-to-live in seconds
	now: current time of the verifying process
	secret: base64-encoded 32-byte key to use for signing and decryption

spec's People

Contributors

kr avatar tmaher avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.