Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web micro-framework written in Vala
Vala Python Other

Fix cookie verification process

Use a time-constant comparison to avoid time-based attacks when
verifying a cookie signature.

Fix the @value argument assigned to the cookie value even if the cookie
is not verified. It has to keep a 'null' value as documented.

Add a test to cover bad cookie signature.

Update the documentation to cover the time-constant comparison and
reorder some blocks for better readability.
latest commit cd491b4d64
@arteymix arteymix authored

README.md

Valum web micro-framework

Build Status Documentation Status Coverage Status

Valum is a web micro-framework entirely written in the Vala programming language.

using Valum;
using VSGI.Soup;

var app = new Router ();

app.get ("", (req, res) => {
    res.body.write_all ("Hello world!".data, null);
});

new Server ("org.valum.example.App", app.handle).run ();

Installation

The installation process is fully documented in the user documentation.

Features

  • asynchronous processing based on RAII and automated reference counting that just doesn't get in your way
  • powerful routing mechanism with scope, typed parameters and low-level utilities to write expressive web services
  • deploy anywhere with libsoup-2.4 built-in HTTP server, CGI, FastCGI or SCGI
  • handy CTPL integration for templating
  • extensive documentation available at valum-framework.readthedocs.org

Contributing

Valum is built by the community under the LGPL license, so anyone can use or contribute to the framework.

  1. fork repository
  2. pick one task from TODO.md or GitHub issues
  3. let us know what you will do (or attempt!)
  4. code
  5. make a pull request of your amazing changes
  6. let everyone enjoy :)

We use semantic versionning, so make sure that your changes

  • does not alter api in bugfix release
  • does not break api in minor release
  • breaks api in major (we like it that way!)

Discussions and help

You can get help with Valum from different sources:

Something went wrong with that request. Please try again.