Skip to content

Instantly share code, notes, and snippets.

View vg's full-sized avatar
🐳
🌊🌊⛵🌊🌊🌊

वेणु गोपाल vg

🐳
🌊🌊⛵🌊🌊🌊
View GitHub Profile

WebPKI and Digital Signature related M&A + Investment + Public Offerings

  • This was inspired by Matt Suiche's great post on cyber security M&A related activity; there is some overlap but not much.
  • This is all public data.
  • I have also intentionally excluded sales of WebPKI key material, not only are these prices not public but they are usually very special cases that are in-essence impossible to compare effectively.
  • I have also included HSMs, Smart card, Digital signatures and CA related software companies in this list as it seems relevant.
Purchased Purchaser Date Price Structure Notes
@vg
vg / x509-dane.md
Created May 11, 2023 13:27 — forked from buffrr/x509-dane.md
Generate an x509 certificate and a TLSA record with openssl

Creating a self-signed certificate for example.com (if you already have a certificate you can skip this step):

openssl req -x509 -newkey rsa:4096 -sha256 -days 365 -nodes \
  -keyout cert.key -out cert.crt -extensions ext  -config \
  <(echo "[req]"; 
    echo distinguished_name=req; 
    echo "[ext]";
 echo "keyUsage=critical,digitalSignature,keyEncipherment";
@vg
vg / nginx-1.19.7-plain-protocol.patch
Created May 10, 2021 02:49 — forked from xddxdd/nginx-1.19.7-plain-protocol.patch
Patch for nginx 1.19.7 to support plaintext protocol (like Gopher or Whois)
diff --git a/auto/modules b/auto/modules
index f1c63f3d..516daaba 100644
--- a/auto/modules
+++ b/auto/modules
@@ -423,6 +423,18 @@ if [ $HTTP = YES ]; then
. auto/module
fi
+ if [ $HTTP_PLAIN = YES ]; then
+ have=NGX_HTTP_PLAIN . auto/have
@vg
vg / iis-web.config
Created September 4, 2020 16:09 — forked from Toddses/iis-web.config
Example web.config for WordPress on IIS
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
<rewrite>
@vg
vg / Facebook + Twitter Fan Count
Created May 16, 2020 09:36 — forked from dmolsen/Facebook + Twitter Fan Count
Pulls the Facebook fan count and Twitter follower count for the specified accounts.
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
var f_page = "wvumountaineers"; // the page name for your fan page, e.g. the 'wvumountaineers' part of http://facebook.com/wvumountaineers
var t_page = "westvirginiau"; // the account name for your main twitter account
function add_commas(number) {
if (number.length > 3) {
var mod = number.length % 3;

Keybase proof

I hereby claim:

  • I am vg on github.
  • I am vg (https://keybase.io/vg) on keybase.
  • I have a public key whose fingerprint is CD95 2F01 17D1 C3E0 EB37 3BFB F138 FF2B 49FC 38CC

To claim this, I am signing this object:

@vg
vg / dynv6.sh
Created October 25, 2019 22:36 — forked from corny/dynv6.sh
Update script for dynv6.com to set your IPv4 address and IPv6 prefix
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi
@vg
vg / ipv6script
Created October 24, 2019 14:21 — forked from skiold/ipv6script
hurricane electric ipv6 tunneling script for macosx
#!/bin/bash
#######################################################################
# Update the HE (Hurricane Electric) ipv6-tunnel
#######################################################################
# original at: http://pugio.net/2009/01/enable-ipv6-on-mac-os-x-the-tu.html
# Interfaces to try, in order: en1 = Airport, en0 = Ethernet
MYIFS="en0 en1"
# leave as is
IPCACHE="/Library/Caches/ipv6scriptIP"
@vg
vg / vpn_psk_bingo.md
Created October 22, 2019 06:40 — forked from kennwhite/vpn_psk_bingo.md
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

@vg
vg / flacmendo.sh
Created October 5, 2019 00:20 — forked from niclashoyer/flacmendo.sh
Download a jamendo album as flac using the new v3.0 API (remember to insert your own application client id)
#!/bin/bash
# deps: bash, curl, sed, metaflac, jq
# remember to insert your own application client id (see CLIENTID below)
# to get an application client id register at http://developer.jamendo.com
set -e
set -u
function filtername() {
tr -cs "[:alnum:] \-&\(\)\?!" _