Tdvcs

Off The Beaten Track

I submitted a talk entitled Type-Driven Development of Security Protocols to Off-The-Beaten-Track ‘17.

I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API. Given time I will also upload a copy of the paper to ArXiV.

The abstract is:

Implementing security protocols correctly is hard; verifying them is too. However, we also implement them in languages different to those we verify them in. With dependent types we can reason on software with greater precision and link specifications to implementations. In this talk we examine how state-of-the-art programming language research can help us to verify and implement protocols in the same language.

SPLS-Type-Driven Design of Communicating Systems using Idris

Today I gave a talk about my work at SPLS Nov ‘16 at the University of Strathclyde.

The idea of communicating systems is a cornerstone of modern technology that allows heterogeneous collections of components to communicate through well-defined communication patterns. However, there is a disconnect between the tooling and languages used to design, implement and reason about communication protocols.

Idris is a general purpose programming language that supports full-dependent types, providing programmers with the ability to reason more precisely about programs. Inspired by work on Session types, our research looks to leverage dependent types to describe and reason about secure communication patterns and their implementation in different communication contexts.

Effectful Channel Management

Communicating systems require channels to communicate, in many of the programming languages that provide communication channels the management of these channels at the application layer is left to the programmer to get right. That is, the programmer is responsible for ensuring that the channel is established, connected to, and then destroyed.

In languages that support dependent types we can encoded, at the type level, extra properties about our software program. Further, the idea of algebraic effects supports the separation of a program’s description from its realisation in different contexts. Edwin Brady’s EFFECTS library has shown how this is possible using dependent types [@Brady2015rda]. The implementation of EFFECTS allows for efficient management of a program’s side-effects and dealings with the outside world. See the Effects Tutorial for more information.

← Previous 1 2