Donate to support Ukraine's independence.
Generated by AI

Harden SSH and Git Commits with a Hardware Key (YubiKey) on macOS

What is a YubiKey? A YubiKey is a small hardware device used as a second factor of authentication. It works similarly to one-time codes sent by SMS or email - but much more securely. To authenticate, the YubiKey must be physically inserted into your computer or connected via NFC. This makes it nearly impossible for remote attackers to compromise your credentials. Getting a YubiKey The best place to buy a YubiKey is directly from Yubico . You can also buy them from trusted retailers, but always verify the device is genuine using Yubico’s verification page . ...

November 6, 2025 · 5 min · 939 words · Serhii Kaidalov
Generated by AI

Stop Committing Broken Code With Pre-commit Hooks

Introduction Pre-commit is a framework for managing and enforcing Git pre-commit hooks. It helps automating code quality checks before committing changes, ensuring that issues like formatting, linting, and security vulnerabilities are caught early. Essentially, pre-commit runs a range of checks automatically before each Git commit. Not only does it highlight issues, but it can also fix them before they even make it into your repository. ...

February 26, 2025 · 3 min · 425 words · Serhii Kaidalov