Skip to content

Instantly share code, notes, and snippets.

@HockeyInJune
HockeyInJune / SSH_MACOS_SECURE_ENCLAVES.md
Created December 1, 2025 02:50 — forked from arianvp/SSH_MACOS_SECURE_ENCLAVES.md
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!

@HockeyInJune
HockeyInJune / wpdc.py
Last active January 4, 2021 19:29
wpdc demo
import sys
import json
import hmac
import urllib
import hashlib
import requests
username = '{YOUR-USERNAME}'
key = '{YOUR-API-KEY}'.encode()
@HockeyInJune
HockeyInJune / Security Education.md
Last active April 12, 2020 14:52
Security Education

Accredited Universities

Full Online Courses

### Keybase proof
I hereby claim:
* I am HockeyInJune on github.
* I am hockeyinjune (https://keybase.io/hockeyinjune) on keybase.
* I have a public key whose fingerprint is 7367 009A 5A4E 3C4B 1C91 BF13 4293 B2F2 4DEB 2526
To claim this, I am signing this object:
@HockeyInJune
HockeyInJune / Exploitation
Created February 16, 2014 01:07
Here are the tutorials we ran in #tutorials on IRC for CSAW CTF 2013.
04:28 -!- mode/#tutorials [+m] by HockeyInJune
04:28 <~HockeyInJune> Okay, we'll be starting again in a second.
04:29 <~HockeyInJune> Exploitation 1 is next at 19 votes.
04:29 <~HockeyInJune> Let's do that one.
04:29 <~HockeyInJune> You'll need IDA Demo and a Text Editor.
04:29 <~HockeyInJune> https://www.hex-rays.com/products/ida/support/download_demo.shtml
04:29 <~HockeyInJune> http://www.sublimetext.com/
04:31 <~HockeyInJune> Oh, isn't this a great song?
04:31 <~HockeyInJune> Alright, let's get started.
04:31 <~HockeyInJune> The times the are a-changin'