testkeys

package
v0.0.0-...-133031b Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testkeys provides PGP private keys SUITABLE ONLY FOR WRITING TEST CASES. DO NOT IMPORT THESE KEYS FOR ANY OTHER PURPOSE. THEY ARE UTTERLY INSECURE.

Index

Constants

View Source
const PrivKey1 = `` /* 3660-byte string literal not displayed */
View Source
const PrivKey2 = `` /* 3660-byte string literal not displayed */
View Source
const TestKeyPassphrase = "pleasedonotusethisasapassword"

Variables

This section is empty.

Functions

func MockSigner

func MockSigner(privKey string) forest.Signer

MockSigner creates a fake signer for use in testing. Panics on error.

func Signer

func Signer(t *testing.T, privKey string) forest.Signer

Signer creates a signer suitable ONLY FOR USE IN TEST CASES.

Types

This section is empty.

Jump to

Keyboard shortcuts

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