Skip to content

Instantly share code, notes, and snippets.

View psivesely's full-sized avatar
😎
🌈 💕

Psi Vesely psivesely

😎
🌈 💕
  • Yale University
  • San Francisco, CA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am psivesely on github.
  • I am fowlslegs (https://keybase.io/fowlslegs) on keybase.
  • I have a public key ASDKxiijbvA-7el0VQiOSDt5QxQe-9Au3jpKE-llhkts0Qo

To claim this, I am signing this object:

@psivesely
psivesely / YubiKey-GPG-SSH-guide.md
Last active February 19, 2018 19:36 — forked from ageis/YubiKey-GPG-SSH-guide.md
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

This is an update of an earlier guide which had become dated, having been originally written with the OpenPGP card from g10 code (in combination with a Gemalto shell token v2) in mind, which is now relatively ancient. Some options and comments were meant for older versions of GPG (2.0.x and before) and a user environment consisting of a previous version of Tails OS based upon Debian wheezy. The previous version also advocated what's known as a "dual-smartcard" setup, which is less common, more expensive and trickier to work with, making it less feasible for most people. I've already updated what I can and verifie

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import mock
from flask import url_for
from flask_testing import TestCase
import unittest
import common
from db import db_session, Journalist
import journalist