Skip to content

Instantly share code, notes, and snippets.

View jnaulty's full-sized avatar
👻
Listen. Learn. Grow

John Naulty Jr. jnaulty

👻
Listen. Learn. Grow
View GitHub Profile
@jnaulty
jnaulty / so-someone-gave-you-a-yubikey.md
Created December 26, 2019 17:37
Yubikey Attestation

Verifying YubiKey Authenticity

How do I know the YubiKey in front of me is actually a YubiKey from Yubico, and not from EvilCo?

People have been here before, and Yubico has helped them support page

They tell you to go to the verification page: Verification Page.

Visual Inspection

@jnaulty
jnaulty / machines-can-do-the-work.md
Last active December 6, 2019 14:24
Automation and the Kubernetes Contributor Experience

Question from kubernetes-sigs/aws-ebs-csi-driver#415

Would there be any way to reduce timeout The test [ebs-csi-e2e] [single-az] Dynamic Provisioning should create a volume on demand with volume type "sc1" and fs type "ext3" tends to take a significant amount of time timing out when it fails.

7.2 minutes on success 25.4 minutes on failures

image

@jnaulty
jnaulty / role.md
Created May 12, 2019 19:51 — forked from lrvick/role.md
My default canned response to all recruiters. Know what you want out of your career and articulate it specifically if you want to get it either at your current employer, or a different one.

I know exactly what I want in a long term role so I can save us some time.

For me to be willing to change jobs at this point I would expect:

  • A high level of autonomy where I am allowed to work weird hours.
  • Have my obsession for auditable everything be humored/tolerated
    • I prefer to work with open platforms like RISC-V and OpenPower and open operating systems like Linux, FreeBSD, OpenBSD, Sel4, etc
    • I am never asked to rely on any software I can't audit on any of my personal or company devices.
  • No need to go find clients myself or worry about the business side of the house
  • Travel/lodging covered for the 2-3 security conferences I try to attend every year.
@jnaulty
jnaulty / rpm-digital-signature.sh
Created July 11, 2018 02:52 — forked from fernandoaleman/rpm-digital-signature.sh
How to sign your custom RPM package with GPG key
# How to sign your custom RPM package with GPG key
# Step: 1
# Generate gpg key pair (public key and private key)
#
# You will be prompted with a series of questions about encryption.
# Simply select the default values presented. You will also be asked
# to create a Real Name, Email Address and Comment (comment optional).
#
# If you get the following response:
@jnaulty
jnaulty / virt-install-centos
Created March 18, 2018 00:36 — forked from giovtorres/virt-install-centos
Install CentOS cloud images on KVM using cloud-init
#!/bin/bash
## **Updates to this file are now at https://github.com/giovtorres/kvm-install-vm.**
## **This updated version has more options and less hardcoded variables.**
# Take one argument from the commandline: VM name
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
@jnaulty
jnaulty / virt-install-centos
Created March 18, 2018 00:36 — forked from giovtorres/virt-install-centos
Install CentOS cloud images on KVM using cloud-init
#!/bin/bash
## **Updates to this file are now at https://github.com/giovtorres/kvm-install-vm.**
## **This updated version has more options and less hardcoded variables.**
# Take one argument from the commandline: VM name
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
@jnaulty
jnaulty / gist:557b9ab4d09811aadce7b44844e1047a
Created February 7, 2017 22:37 — forked from amstanley/gist:9da7febc9a3e3c2228ee
How to install openALPR on a Raspberry Pi a/o 20160214
#!/bin/bash
# STATUS A/O 2016 02 14: tested, works
# based on https://barclaysapps.wordpress.com/2014/07/06/openalpr-install-for-rpi-and-udoo-and-tre-and-yun/ ,
# http://lukagabric.com/raspberry-pi-license-plate-recognition/, and updated for new packages.
# there are other random notes and googled pages that also informed this tutorial whihc may not be specifically referenced.
#This is not optimized for space or whatever, but does work. well, not as of 2016 01 03 but working to fix that)
# discussion is at https://groups.google.com/forum/#!topic/openalpr/-vckIsPe618: please contribute if you can, and ask questions if you # # have them
# thanks to Timis for tips and hints...

Keybase proof

I hereby claim:

  • I am jnaulty on github.
  • I am jnaulty (https://keybase.io/jnaulty) on keybase.
  • I have a public key ASAFuDOwxz-VZvdR72ltb8z2z6IqCWBq5-_Lvi3ffVJe5go

To claim this, I am signing this object: