HMAC in Go, Python, Ruby, PHP, and NodeJS

Posted by & filed under Crypto, Go, NodeJS, PHP, Python, Ruby, Web development.

When communicating messages between multiple systems, it’s always a good idea to authenticate a message before taking action on it. This ensures the message hasn’t been tampered with and that it came from a known source. There are several ways of implementing this type of message authentication, but here we’re going to assume we have… Read more »

Golapa v2: Dockerized Launch Page Written in Go

Posted by & filed under aws, Deployments, DevOps, Docker, Go, Web development.

The latest version of Golapa comes with some significant changes, namely extending support beyond Google App Engine. While we are still supporting GAE builds using the same codebase, by dockerizing Golapa we’re making it a lot easier to develop locally and deploy almost anywhere Docker is supported. Launch pages are supposed to be simple, right?… Read more »

Go: Build Constraints FTW!

Posted by & filed under App Engine, Go, Web development.

We’re continuing to use Google App Engine to host our sign up page (we’ll discuss why in another post) which produced a common problem during our local builds: appengine-specific code would fail when using the standard Go build tools. Because our AppEngine and non-AppEngine code was similar, we wanted to keep the code-base from being fragmented…. Read more »

Quoted Printable Encoder in Go

Posted by & filed under Go.

turret.io relies on Go for a lot of its email handling. One thing we  noticed during development was that while Go currently has support for a quoted printable decoder it didn’t have an encoder.  This is surely not optimized yet and it also doesn’t implement Go’s native io.Writer interface, but it serves its purpose for now. It’s… Read more »