• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..18-Oct-2020-

.gitignoreH A D18-Oct-20208 21

.travis.ymlH A D18-Oct-2020295 1812

CODE_OF_CONDUCT.mdH A D18-Oct-20203.2 KiB7556

CONTRIBUTING.mdH A D18-Oct-20201.6 KiB4328

LICENSEH A D18-Oct-202011.1 KiB203169

NOTICEH A D18-Oct-2020281 117

README.mdH A D18-Oct-2020887 159

marshal.goH A D18-Oct-20205.8 KiB276230

parse.goH A D18-Oct-20206.1 KiB245180

README.md

1# sshkeys
2
3[![GoDoc](https://godoc.org/github.com/ScaleFT/sshkeys?status.svg)](https://godoc.org/github.com/ScaleFT/sshkeys)
4[![Build Status](https://travis-ci.org/ScaleFT/sshkeys.svg?branch=master)](https://travis-ci.org/ScaleFT/sshkeys)
5
6`sshkeys` provides utilities for parsing and marshalling cryptographic keys used for SSH, in both cleartext and encrypted formats.
7
8[ssh.ParseRawPrivateKey](https://godoc.org/golang.org/x/crypto/ssh#ParseRawPrivateKey) only supports parsing a subset of the formats `sshkeys` supports, does not support parsing encrypted private keys, and does not support marshalling.
9
10## Supported Formats
11
12* OpenSSH's [PROTOCOL.key](https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key) for RSA and ED25519 keys.
13* OpenSSH version >= 7.6 using aes256-ctr encryption
14* "Classic" PEM containing RSA (PKCS#1), DSA (OpenSSL), and ECDSA private keys.
15