ScaleFT/sshkeys

sshkeys: utilities for parsing and marshaling OpenSSH Key formats

Go

78

25 commits

updated Mar 3, 2025

See the code

README

sshkeys

GoDoc Build Status

sshkeys provides utilities for parsing and marshalling cryptographic keys used for SSH, in both cleartext and encrypted formats.

ssh.ParseRawPrivateKey only supports parsing a subset of the formats sshkeys supports, does not support parsing encrypted private keys, and does not support marshalling.

Supported Formats

  • OpenSSH's PROTOCOL.key for RSA and ED25519 keys.
  • OpenSSH version >= 7.6 using aes256-ctr encryption
  • "Classic" PEM containing RSA (PKCS#1), DSA (OpenSSL), and ECDSA private keys.

ScaleFT/sshkeys

sshkeys: utilities for parsing and marshaling OpenSSH Key formats

Go

78

25 commits

updated Mar 3, 2025

See the code

README

sshkeys

GoDoc Build Status

sshkeys provides utilities for parsing and marshalling cryptographic keys used for SSH, in both cleartext and encrypted formats.

ssh.ParseRawPrivateKey only supports parsing a subset of the formats sshkeys supports, does not support parsing encrypted private keys, and does not support marshalling.

Supported Formats

  • OpenSSH's PROTOCOL.key for RSA and ED25519 keys.
  • OpenSSH version >= 7.6 using aes256-ctr encryption
  • "Classic" PEM containing RSA (PKCS#1), DSA (OpenSSL), and ECDSA private keys.

Project health

Latest release

v1.4.0 · Mar 3, 2025

Releases this year

0

Significant stargazers

Christian Muehlhaeuser

3,417 followers · starred Mar 2022