Skip to content

Instantly share code, notes, and snippets.

View sholladay's full-sized avatar

Seth Holladay sholladay

View GitHub Profile
@sholladay
sholladay / README.md
Last active September 25, 2022 00:24
WebAuthn demo

WebAuthn Demo

This demo app implements a signup & login system based on Web Authentication.

iOS 16 or macOS Ventura is recommended for the device that will log in to the app, however Android, Windows, and earlier versions of iOS/macOS will also work, with some limitations.

Run

  1. Download and unzip this gist
  2. cd into the directory
'use strict';
const fs = require('fs');
const path = require('path');
const util = require('util');
const childProcess = require('child_process');
const gh = require('gh-got');
const mkdirtemp = require('mkdirtemp');
const exec = util.promisify(childProcess.exec);
@sholladay
sholladay / api.js
Last active October 1, 2019 11:16 — forked from popuguytheparrot/api.js
ky with proxy
import { ky } from './ky.config';
const employeesUrl = 'employees';
export async function fetchEmployees() {
return ky.get(employeesUrl).json();
}
Verifying my Blockstack ID is secured with the address 1PZkrJjo1r6YSnB8HUHHvmjjN9TeVvrjaf https://explorer.blockstack.org/address/1PZkrJjo1r6YSnB8HUHHvmjjN9TeVvrjaf
@sholladay
sholladay / keybase.md
Created July 15, 2017 00:30
keybase.md

Keybase proof

I hereby claim:

  • I am sholladay on github.
  • I am sholladay (https://keybase.io/sholladay) on keybase.
  • I have a public key ASA5hFA52238D8J_ZafaGvcDPpihvHzskUHgpMT6Xhcb2Ao

To claim this, I am signing this object: