anvil: zntr.io/anvil Index | Files | Directories

package anvil

import "zntr.io/anvil"

Index

Package Files

challenge.go errors.go helpers.go password.go

Variables

var ErrExpiredChallenge = errors.New("anvil: Challenge is expired")

ErrExpiredChallenge raised when trying to tap an expired challenge

func Forge Uses

func Forge(principal string, opts ...forge.Option) (string, string, error)

Forge a challenge

func Meld Uses

func Meld(principal, password, challenge string) (string, error)

Meld a challenge from given credentials

func Seal Uses

func Seal(principal, password string) (string, error)

Seal a public key matching the principal / password credentials

func Tap Uses

func Tap(token string, opts ...tap.Option) (bool, string, string, error)

Tap checks for challenge

Directories

PathSynopsis
forge
internal
tap

Package anvil imports 13 packages (graph). Updated 2020-06-05. Refresh now. Tools for package owners.