ppk

package
v0.0.0-...-df39993 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Package ppk provides functions implementing conversion between Teleport's native RSA keypairs and PuTTY's PPK format. It also provides functions for working with RFC4251-formatted mpints and strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToPPK

func ConvertToPPK(privateKey *rsa.PrivateKey, pub []byte) ([]byte, error)

ConvertToPPK takes a regular RSA-formatted keypair and converts it into the PPK file format used by the PuTTY SSH client. The file format is described here: https://the.earth.li/~sgtatham/putty/0.76/htmldoc/AppendixC.html#ppk

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL