Skip to content

Instantly share code, notes, and snippets.

View ahmetozer's full-sized avatar
🖐️
Hi , thank you for your visit.

Ahmet ÖZER ahmetozer

🖐️
Hi , thank you for your visit.
View GitHub Profile
@ramithuh
ramithuh / secure_enclave.md
Last active September 5, 2026 15:36
how to use finger print for ssh log in

Fingerprint-Powered SSH on macOS Tahoe (Native, No Extra Apps)

originally documented in this gist, but had to give some clarity since i didnt understand some steps. Below is a rewrite from claude

macOS Tahoe (26+) has built-in support for Secure Enclave-backed SSH keys via ssh-keychain.dylib. This means Touch ID-protected SSH with no third-party apps like Secretive required.

The private key is generated inside and never leaves the Secure Enclave chip. Even if someone steals your Mac, they cannot extract the key.


@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active September 14, 2026 09:35
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active September 9, 2026 13:39
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
@nerdalert
nerdalert / Netfilter-IPTables-Diagrams.md
Last active July 28, 2026 19:09
Linux NetFilter, IP Tables and Conntrack Diagrams

Linux NetFilter, IP Tables and Conntrack Diagrams

IPTABLES TABLES and CHAINS

IPTables has the following 4 built-in tables.

1) Filter Table

Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.