Skip to content

Instantly share code, notes, and snippets.

View hfhbd's full-sized avatar

Philip Wedemann hfhbd

View GitHub Profile
@hfhbd
hfhbd / sc_auth_ssh.md
Last active July 8, 2026 07:50
Generate A Non Exportable SSH Key for Git Signing using macOS sc_auth

Generate A Non Exportable SSH Key for Git Signing

sc_auth create-ctk-identity -l GitHub -k p-256-ne -t bio -E id+username@users.noreply.github.com
ssh-add -K -S /usr/lib/ssh-keychain.dylib
ssh-add -L
ssh-copy-id git@github.com
ssh -o SecurityKeyProvider=/usr/lib/ssh-keychain.dylib git@github.com

Upload the key to GitHub via the UI

@hfhbd
hfhbd / CloudKit.swift
Created March 10, 2021 23:46
Apple CloudKit ServerSide API
/**
Copyright 2021 Philip Wedemann
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software