Testing Authorize.NET Credentials with cURL

Published: July 18, 2019


Recently, a client supplied me with Authorize.NET to configure a custom application. When I plugged them in I received the following error:

E00007: User authentication failed due to invalid authentication values.

I needed to get back to them that the credentials weren’t working, but wanted to provide evidence that the error wasn’t due to a coding error in the custom application.

Catalog Permissions Indexer Crashing Magento 2

Published: June 10, 2019


I recently investigated an issue where running a full reindex would cause a Magento 2 site to crash. Of course it’s not best practice to run full reindexes, however, at the same time, it should be possible to do them without crashing the entire website. In this post we’ll explore the issue.

Alert on SSH Login from new IP with OSSEC

Published: May 27, 2019

A useful security alert condition is a login from a new IP address. In this post we’ll explore how to set this up with OSSEC.

OSSEC local install from package

Published: May 25, 2019

If you read OSSEC’s installation documentation, you’ll learn that there are 4 installation types: server, agent, local and hybrid. While there’s no official documentation explaining this, per this Google Groups thread a local install is equivalent to a standalone install on a single system.

Concatenate a string and an int in Go

Published: May 24, 2019


Recently I needed to concatenate a string and an int in Go. Googling revealed an overwhelming number of options. I’ve gathered and organized all of them in this post, including full working examples for each.

Retrofitting Two Factor Authentication To An Existing Magento 2 Installation

Published: March 24, 2019

Enabling forced two-factor authentication for the Magento admin panel is a great way to improve security. However, with the current mechanics of Magento’s two-factor authentication module simply flipping the switch in your stores admin panel still leaves a gap in your system’s security.