create

package
v0.0.0-...-1a9e666 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAnnotations

func CreateAnnotations(cmd *cobra.Command) (map[string]any, error)

func CreateEd25519Key

func CreateEd25519Key(cmd *cobra.Command) (_public []byte, _private []byte)

func CreateRsaKey

func CreateRsaKey(cmd *cobra.Command)

Generate an RSA key, called by `passcard create --rsa`.

func CreateX25519Key

func CreateX25519Key(cmd *cobra.Command) (_public []byte, _private []byte)

func PrintEd25519PrivateKey

func PrintEd25519PrivateKey(private ed25519.PrivateKey, cmd *cobra.Command)

func PrintEd25519PublicKey

func PrintEd25519PublicKey(private ed25519.PrivateKey, cmd *cobra.Command)

func PrintX25519PrivateKey

func PrintX25519PrivateKey(private *[32]byte, cmd *cobra.Command)

func PrintX25519PublicKey

func PrintX25519PublicKey(public *[32]byte, cmd *cobra.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

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