Skip to content

Instantly share code, notes, and snippets.

View keithballdotnet's full-sized avatar

Keith Ball keithballdotnet

View GitHub Profile
aesKeyTemplate := []*pkcs11.Attribute{
pkcs11.NewAttribute(pkcs11.CKA_CLASS, pkcs11.CKO_SECRET_KEY),
pkcs11.NewAttribute(pkcs11.CKA_KEY_TYPE, pkcs11.CKK_AES),
pkcs11.NewAttribute(pkcs11.CKA_ENCRYPT, true),
pkcs11.NewAttribute(pkcs11.CKA_DECRYPT, true),
pkcs11.NewAttribute(pkcs11.CKA_SIGN, true),
pkcs11.NewAttribute(pkcs11.CKA_VERIFY, true),
pkcs11.NewAttribute(pkcs11.CKA_TOKEN, true),
pkcs11.NewAttribute(pkcs11.CKA_PRIVATE, false),
pkcs11.NewAttribute(pkcs11.CKA_VALUE, 16), /* KeyLength */
Service:
apiVersion: v1
kind: Service
metadata:
name: authorization
labels:
app: authorization
spec:
type: LoadBalancer
ports:
@keithballdotnet
keithballdotnet / gist:2fca9dd542ea2f244ed8571af34ab28f
Created July 26, 2016 12:12
Kubernetes Elasticsearch + Kibana + Fluentd
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: fluentd
spec:
template:
metadata:
labels:
app: logging
id: fluentd

Keybase proof

I hereby claim:

  • I am keithballdotnet on github.
  • I am inflatablewoman (https://keybase.io/inflatablewoman) on keybase.
  • I have a public key whose fingerprint is 4460 CAD5 7675 8A14 907E 5068 4233 B94E 0D3A A648

To claim this, I am signing this object:

class Plantuml < Formula
desc "Draw UML diagrams"
homepage "https://plantuml.com/"
url "https://downloads.sourceforge.net/project/plantuml/1.2017.16/plantuml.1.2017.16.jar"
sha256 "7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf"
version_scheme 1
bottle :unneeded
depends_on "graphviz"