Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Oct-2020 | - | ||||
.gitignore | H A D | 18-Oct-2020 | 8 | 2 | 1 | |
.travis.yml | H A D | 18-Oct-2020 | 295 | 18 | 12 | |
CODE_OF_CONDUCT.md | H A D | 18-Oct-2020 | 3.2 KiB | 75 | 56 | |
CONTRIBUTING.md | H A D | 18-Oct-2020 | 1.6 KiB | 43 | 28 | |
LICENSE | H A D | 18-Oct-2020 | 11.1 KiB | 203 | 169 | |
NOTICE | H A D | 18-Oct-2020 | 281 | 11 | 7 | |
README.md | H A D | 18-Oct-2020 | 887 | 15 | 9 | |
marshal.go | H A D | 18-Oct-2020 | 5.8 KiB | 276 | 230 | |
parse.go | H A D | 18-Oct-2020 | 6.1 KiB | 245 | 180 |
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