1.0.11 • Published 1 year ago

ssh-keygen-wasm v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Go-based WASM module to read, decrypt, generate SSH keys in the browser

This module is a small wrapper around Go's ssh library. It supports decrypting and decoding private keys, re-encoding in PKCS#8 and generating ed25519 and RSA keys.

Compile the wasm module using GOOS=js GOARCH=wasm go build -o ssh-keygen.wasm main.go functions.go

Example usage in typescrypt:

import { generatePrivateKey } from "ssh-keygen-wasm";

// in an async func:
  var privateKey = generatePrivateKey("ed25519") // will be returned encoded in PKCS#8, ready for openssh usage
  console.log(privateKey)
1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago