Skip to content

Instantly share code, notes, and snippets.


Mariano Cano maraino

View GitHub Profile
View agent.go
package sshkms
import (
View ca-chain.txt
$ step version
Smallstep CLI/0.15.3 (darwin/amd64)
Release Date: 2020-10-22 04:29 UTC
$ step certificate create 'My Root CA' root_ca.crt root_ca_key --profile root-ca
Please enter the password to encrypt the private key:
Your certificate has been saved in root_ca.crt.
Your private key has been saved in root_ca_key.
$ step certificate create 'My Intermediate CA' intermediate_ca.crt intermediate_ca_key --profile intermediate-ca --ca root_ca.crt --ca-key root_ca_key
maraino / ssh.patch
Created Feb 4, 2020
SSH EC Keys Patch
View ssh.patch
commit fc346d83bb0cca8b617358b275cb678a41aaeb4f
Author: Mariano Cano <>
Date: Mon Jan 20 17:33:23 2020
ssh: support for ecdsa keys using openssh format.
This adds support for parsing OpenSSH ECDSA private keys. It
implements parsing for P-256, P-384, and P-521 unencrypted keys.
Change-Id: I77c8e0a23ed6353f6667686cc79ec14661cb10db
maraino / panicmiddlware.go
Last active Jan 30, 2020
Simple panic middleware
View panicmiddlware.go
package main
import (
func panicMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
defer func() {

Keybase proof

I hereby claim:

  • I am maraino on github.
  • I am mariano ( on keybase.
  • I have a public key whose fingerprint is BD96 1B9F CB6C CE22 5ABE AD95 6813 0D20 3189 2F1A

To claim this, I am signing this object:

You can’t perform that action at this time.