Go - Tagged - Security Boulevard

Making macOS Universal Apps in Swift with Universal Golang Static Libraries

| | Go, golang, macos, SWIFT
There are a plethora of amazingly useful Golang libraries, and it has been possible for quite some time to use Go libraries with Swift. The advent of the release of the new ...

Smart (and simple) ways to prevent symlink attacks in Go

| | Exploits, Go
After writing Go for years, many of us have learned the error-checking pattern down to our bones: “Does this function return an error? Ope, better make sure it’s nil before moving on.” ...

How to check if a mutex is locked in Go

TL;DR: Can we check if a mutex is locked in Go? Yes, but not with a mutex API. Here’s a solution for use in debug builds. Although you can Lock() or Unlock() ...

Security assessment techniques for Go projects

The Trail of Bits Assurance practice has received an influx of Go projects, following the success of our Kubernetes assessment this summer. As a result, we’ve been adapting for Go projects some ...

Announcing GoNexus

GoNexus Today Sonatype is announcing our official Sonatype Go proxy - GoNexus.dev ...

Panicking the right way in Go

A common Go idiom is to (1) panic, (2) recover from the panic in a deferred function, and (3) continue on. In general, this is okay, so long there are no global ...