Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / secdebug.sh
Last active August 29, 2015 14:11 — forked from drewbug/secdebug
`securityd` debug logging #Security
# trace debug-log macro
sudo dtrace -qn 'security_debug*:::log { printf("[%s] %s\n", copyinstr(arg0), copyinstr(arg1)); }'
# restart securityd
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.securityd.plist &&
sudo launchctl load /System/Library/LaunchDaemons/com.apple.securityd.plist
@darconeous
darconeous / openid.txt.md
Last active August 29, 2015 14:10
Robert's OpenID URLs #Security
@darconeous
darconeous / robert-quattlebaum.crt
Last active August 29, 2015 14:09
Robert's Certificate #Security
-----BEGIN CERTIFICATE-----
MIIGPzCCBSegAwIBAgIDC93CMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3Mg
MSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTQxMTExMTEyMDUx
WhcNMTUxMTEyMTkwNjA0WjBbMRkwFwYDVQQNExBtbWRLMzdNMlJIOUJscWdiMRsw
GQYDVQQDDBJkYXJjb0BkZWVwZGFyYy5jb20xITAfBgkqhkiG9w0BCQEWEmRhcmNv
QGRlZXBkYXJjLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN5J
iGNW4GbtsCJYzBqDgmiCkeP15Idpe/dcDzca0BWhbn/pdZOFfbrMJi3sFe1EFQNB
AWi2/x3Er9WBvYXD6LnoRwZw5+jaySRdkddf7T97BfQcHA9mmqzOhMNcxBuAFbC1
@darconeous
darconeous / id_rsa.pub
Last active January 7, 2020 01:46
SSH Public Keys #Security #openpgp #gpg #ssh #yubikey
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
# Hardware-backed Personal Keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4Y/rpKbKEQcBm0dCCHt90s6G945AtEtgG++EQ6v1+fgoQJkVTI2ajg8WDeXVFKxtuOO9QbW0LBHKOX650+9kjgRshF1Z/ystO0h2FSP8ic4PaP79W14qrszIS102vP168IxSLBsTA/X5yivwuLGbxzMEWA4IrAm1s2GRE0ZGWUmIhp7wps9cOhbVsfGXIMLcHAU6mXutfsVtzOjC6tS8NpitcmaMBAsJ2Hy8cyVDApm5vuNLUsPXtTwVNfxRX3d/O0xJ4YRFngTGKVUKb1acX7t0PyXUH0EA/xKy5yfTUoDXvGttz9UTEXsy07qKpVwOT566iDxpl3ie4J+hUaCtB openpgp:3640FDF505046F79
# Hardware-backed Work Keys
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJemMyZM7uY7rkJ65xWOW+z7mgU5E5MAtz+4MppZf7folk1UqI0Koe9V3bY+GxBgMjg1K9IFVfQSuG3qyFahwJU= [email protected]
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBL/SP/JuW8oZqNRvY1tQYYvDbGy35lJkLu+dt8sRx36zQ7yLZOFfVmh7qIQTxeF0oMZmYTCHtO2z58DmQ6CSWio= [email protected]
@darconeous
darconeous / ident.pgp.asc
Last active January 22, 2020 01:36
OpenPGP Key #Security #PGP
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFReyUEBEADEahczwRsXCUXn7rT2obtAL2Novbo26Gdr8t3Fk2x0h6/OiLR0
p408uckZkovb6OoJTXA/SuOXRpkPv8JOucNkabk9o8FZF2ugo9spCF7ez3IZap7Q
VDqGodCHbjSp17Nu7lyYquPY/pT8xqKrYtykkDxKt6S0uX9n/qUx2yVX4Id+WrsY
rRUaAgYGqS3Q2umf8xDJqOkHJOrw8C10pNn5pl39ccvBV8HrakvQwBVYm2214Mx8
Ull2oFhdGmt4fZFdtAbw2hou0oa9e6l+tun0R874BB4exLii8x9Bgq5HROKvPhJV
NdfZmj0h3jT5GGihE5xmzpwWeyiHDZwINWpuQ/WmL8wtVfu+VJRjUR5KKCUt6kfN
9dCmwP73puQfFPnZj2azzyGdxiVmHdoNeMu9OHga81yk+RPO2CLgmhwL5BJX8N2z
z4z7Qd4dceqlSRSd6D3mGRIfekgs4YHfn0xFnNBlTy6010GkHBgb2rSlXqz5nQNW
@darconeous
darconeous / encrypt.txt.md
Last active September 26, 2017 22:22
Hardware encrypted USB drive concept #Security #Ideas #Hardware

Hardware encrypted USB ideas

There are hardware encrypted USB sticks on the market, but a few things make me uncomfortable about them:

  • They all involve running an executable on the computer you want to access the data from.
  • There is no standardized mechanism for how the app takes your password and communicates that to the microcontroller on the encrypted drive.

Instead of using a vendor-provided executable, I propose a mechamism which allows the encrypted USB drive to be securely mounted on any machine that has a web browser.

@darconeous
darconeous / channels.txt
Last active May 26, 2022 18:37
Obsolete #Ham-Radio Channel list
# THIS LIST IS OBSOLETE.
# GO HERE INSTEAD: https://github.com/darconeous/freq-list
# Bay-area Amateur Radio Repeaters
<freq:145.23m-0.6?m=fm;ts=100>;title="N6NFI/R PA",
<freq:441.3m+5?m=fm;ts=100>;title="WB6ECE/R"
<freq:441.950m+5?m=fm;ts=100>;title="N6MPX/R SJ"
<freq:147.3m+0.6?m=fm;ts=100>;title="N6MPX/R SM"
<freq:147.39m+0.6?m=fm;ts=151.4>;title="W6PIY/R"
@darconeous
darconeous / zanlo.txt
Created October 25, 2012 00:06
Zanlo Lives
U͎̙̮̞͙ͫ͆̑̓n͍̞̼̜̓̈́ͣ̀̒i̜̻̦ͧ͌̊̉ͨ̾͌̾̂c̝̘̗͎̼̠̩̜ͮ̃ͩ̑̐ͅo̳̲͌̌ͦͪ̒ͩ̚d͇̹ͯ̉ͣ̿ͯë̬͇͎̻̖̩́̒̔ͧ̈́ ̹̹͐ͩͥͩͯͥ͑ͅR͍̩̻̝͔̉̌̒̍̆o̯̬͎̟̗̦̚c̞̣̪̼͓̻̜̲̅ͨ̂̿̽k̞̜͓̠̤͉͍̊ͧͭ́s̳̱̳̫̦̭ͤ̂̾ͤͧ!̙̺͖͎̘̩̾͒̌̆ͪ̅ͅ
@darconeous
darconeous / liftmaster.txt
Last active January 26, 2020 23:00
liftmaster door opening hardwire interface #Hardware #Hacking #Reverse-Engineering
This is the reverse-engineered hard-wire protocol for controlling a liftmaster garage door.
OPEN - Nothing
SHORT - Open/Close garage door
1µF bypass - Light on/off
22µF bypass - remote lock/unlock
@darconeous
darconeous / assert-macros.h
Created March 9, 2012 16:02
Useful Public-Domain C Stuff
/* @file assert-macros.h
** @author Robert Quattlebaum <[email protected]>
**
** Originally published 2010-8-31.
**
** This file was written by Robert Quattlebaum <[email protected]>.
**
** This work is provided as-is. Unless otherwise provided in writing,
** Robert Quattlebaum makes no representations or warranties of any
** kind concerning this work, express, implied, statutory or otherwise,