Skip to content

Instantly share code, notes, and snippets.

@robertmd
robertmd / main.go
Created March 18, 2017 01:23
SSH Private key with Passphrase Example
package main
import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"log"
"github.com/howeyc/gopass"
### Keybase proof
I hereby claim:
* I am robertmd on github.
* I am smiterswill (https://keybase.io/smiterswill) on keybase.
* I have a public key whose fingerprint is DB2C 8C1A 646C F3B0 7FDE 27FF FDB2 64E1 E5CC DCC5
To claim this, I am signing this object: