The YubiKey is a great OpenGPG smart card compatible hardware device. I use my YubiKey to store my private GnuPG key and for authenticating SSH connections. A few applications, however, don’t work with the OpenGPG card and require a file containing the key per default; Sequel Pro is one of them.
Luckily I stumbled upon an older issue at GitHub with a neat workaround using Automator in macOS.
Together with the latest GPG Suite for macOS, the configuration is not more complex than adding a line to your
This tells your SSH application to use the GPG Agent for any authentication requests. So when you run
ssh user@host, a prompt will ask you for your smart card pin instead. Awesome!
Use Automator in macOS to create a new application and configure Automator to run a shell script containing the following lines:
source ~/.zshrc /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro
This post is mostly a reminder for my future self how to setup macOS, Sequel Pro, and a YubiKey to access MySQL databases using an SSH tunnel.
Let me be honest with you: GraphQL is the shit! Once you use GraphQL, you will never want to use anything else again. The same is true for a working and maintainable serverless FaaS infrastructure. Combine both technologies to run a genuinely serverless GraphQL API using AWS AppSync and Lambda resolvers.1501 words, posted on June 17
Amazon recently announced CloudFormation support for AppSync and all its features. Together with the Serverless Application Model it’s now dead simple to deploy a GraphQL API and custom Lambda resolvers without using the API at all. The GraphQL RSS Proxy example project is a serverless GraphQL API using AppSync, with an AWS Lambda function as a custom Query Resolver writting in Go.714 words, posted on May 30
Do you use GitHub to manage your software projects and Slack for communication? With GitHub Webhooks and a simple AWS Lambda function, you can notify Slack channels about new releases of your projects.540 words, posted on February 24